Ejemplo n.º 1
0
        public Task <object> InsertAsync(T info, string keyName = null, string[] ignoreFields = null, bool isIdentity = true)
        {
            SqlQuery query = SqlQueryUtil.BuilderInsertSqlQuery <T>(info, TableName, keyName, ignoreFields, dbType: WriterDataType);

            return(GetDataAccess().ExecuteScalarAsync <object>(query));
        }