コード例 #1
0
        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));
        }
コード例 #2
0
        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));
        }
コード例 #3
0
        public static IDbResultCustom insertOrUpdate <T>(T entity, List <string> idPropertyNameList)
        {
            EntityToCommandCustom fwEntityToFWCommand = new EntityToCommandCustom();

            return(fwEntityToFWCommand.insertOrUpdate <T>(entity, idPropertyNameList));
        }
コード例 #4
0
        public static IDbResultCustom insertOrUpdate <T>(IConnectionCustom connection, T entity, List <string> idPropertyNameList)
        {
            EntityToCommandCustom fwEntityToFWCommand = new EntityToCommandCustom(connection);

            return(fwEntityToFWCommand.insertOrUpdate <T>(connection, entity, idPropertyNameList));
        }
コード例 #5
0
        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));
        }