序言

SqlSugar16大功能

.Net优秀开源(5)SqlSugar

SqlSugar查询特色

.Net优秀开源(5)SqlSugar

 

 

 

 

 

public virtual IInsertable<T> Insertable<T>(dynamic insertDynamicObject) where T : class, new()

var result = Ado.ExecuteCommand(sql, InsertBuilder.Parameters == null ? null : InsertBuilder.Parameters.ToArray());

 

LOCK

 public partial class SqlWith
    {
        public const string NoLock = "WITH(NOLOCK) ";
        public const string HoldLock = "WITH(HOLDLOCK)";
        public const string PagLock = "WITH(PAGLOCK)";
        public const string ReadCommitted = "WITH(READCOMMITTED)";
        public const string TabLockX = "WITH(TABLOCKX)";
        public const string UpdLock = "WITH(UPDLOCK)";
        public const string RowLock = "WITH(ROWLOCK)";
        public const string Null = "Non";
    }

 

 

SELECT SCOPE_IDENTITY();

 

资料

http://www.codeisbug.com/Doc/8

https://github.com/sunkaixuan/SqlSugar

相关文章:

  • 2022-12-23
  • 2021-12-23
  • 2021-11-06
  • 2021-12-14
  • 2021-06-03
  • 2021-08-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
相关资源
相似解决方案