public static void Insert <T>(this ICommandCreator creator, string tableName, T value, QueryOptions queryOptions, params string[] ignoreFields) { creator.CreateInsert(tableName, value, queryOptions, ignoreFields).ExecuteNonQuery(); }
public static Task InsertAsync <T>(this ICommandCreator creator, string tableName, T value, QueryOptions queryOptions, params string[] ignoreFields) { return(creator.CreateInsert(tableName, value, queryOptions, ignoreFields).ExecuteNonQueryAsync()); }
public static IWrappedCommand CreateInsert <T>(this ICommandCreator creator, string tableName, T value, params string[] ignoreFields) { return(creator.CreateInsert(tableName, value, null, ignoreFields)); }