SqlSugar源码学习

序言

 

public virtual IInsertable Insertable(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

你可能感兴趣的:(SqlSugar源码学习)