示例#1
0
        public static T query <T>(ITransactionCustom transaction, ICommandCustom command)
        {
            EntityToCommandCustom fwEntityToFWCommand = new EntityToCommandCustom(command.DatabaseTypeCustom);

            return(fwEntityToFWCommand.query <T>(transaction, command));
        }
示例#2
0
        public static T query <T>(string connectionString, ICommandCustom command)
        {
            EntityToCommandCustom fwEntityToFWCommand = new EntityToCommandCustom(command.DatabaseTypeCustom);

            return(fwEntityToFWCommand.query <T>(connectionString, command));
        }
示例#3
0
        public static T query <T>(ITransactionCustom transaction, string afterWhereSql, List <IParameterCustom> afterWhereSqlParams)
        {
            EntityToCommandCustom fwEntityToFWCommand = new EntityToCommandCustom(transaction);

            return(fwEntityToFWCommand.query <T>(transaction, afterWhereSql, afterWhereSqlParams));
        }
示例#4
0
        public static T query <T>(ICommandCustom command)
        {
            EntityToCommandCustom fwEntityToFWCommand = new EntityToCommandCustom(command.DatabaseTypeCustom);

            return(fwEntityToFWCommand.query <T>(command));
        }
示例#5
0
        public static T query <T>(string connectionString, string afterWhereSql, List <IParameterCustom> afterWhereSqlParams)
        {
            EntityToCommandCustom fwEntityToFWCommand = new EntityToCommandCustom(connectionString);

            return(fwEntityToFWCommand.query <T>(connectionString, afterWhereSql, afterWhereSqlParams));
        }