예제 #1
0
 public virtual async System.Threading.Tasks.Task <object> ExecuteInsertAsync <T>(Database db, DbCommand cmd, string primaryKeyName, bool useOutputClause, T poco, object[] args)
 {
     cmd.CommandText += ";\nSELECT @@IDENTITY AS NewID;";
     return(await db.ExecuteScalarHelperAsync(cmd));
 }