SqlWith.cs 687 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SqlSugar
  7. {
  8. public partial class SqlWith
  9. {
  10. public const string NoLock = "WITH(NOLOCK) ";
  11. public const string HoldLock = "WITH(HOLDLOCK)";
  12. public const string PagLock = "WITH(PAGLOCK)";
  13. public const string ReadCommitted = "WITH(READCOMMITTED)";
  14. public const string TabLockX = "WITH(TABLOCKX)";
  15. public const string UpdLock = "WITH(UPDLOCK)";
  16. public const string RowLock = "WITH(ROWLOCK)";
  17. public const string ReadPast = "WITH(READPAST)";
  18. public const string Null = "Non";
  19. }
  20. }