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