public static IDbResultCustom insertOrUpdate <T>(T entity, List <string> idPropertyNameList, List <string> uniquePropertyNameList) { SqlEntityToCommandCustom sqlEntityToCommandCustom = new SqlEntityToCommandCustom(); return(sqlEntityToCommandCustom.insertOrUpdate <T>(entity, idPropertyNameList, uniquePropertyNameList)); }
public static List <IDbResultCustom> insertOrUpdate <T>(string connectionString, List <T> entityList, List <string> idPropertyNameList) { SqlEntityToCommandCustom sqlEntityToCommandCustom = new SqlEntityToCommandCustom(); return(sqlEntityToCommandCustom.insertOrUpdate <T>(connectionString, entityList, idPropertyNameList)); }
public static List <IDbResultCustom> insertOrUpdate <T>(ITransactionCustom transaction, List <T> entityList, List <string> idPropertyNameList) { SqlEntityToCommandCustom sqlEntityToCommandCustom = new SqlEntityToCommandCustom(); return(sqlEntityToCommandCustom.insertOrUpdate <T>(transaction, entityList, idPropertyNameList)); }
public static IDbResultCustom insertOrUpdate <T>(IConnectionCustom connection, T entity, List <string> idPropertyNameList) { SqlEntityToCommandCustom sqlEntityToCommandCustom = new SqlEntityToCommandCustom(); return(sqlEntityToCommandCustom.insertOrUpdate <T>(connection, entity, idPropertyNameList)); }