コード例 #1
0
        public string Select()
        {
            var SqlConsultant = SqlConsultantHelper.CreateQuerier(Type, this.Configuration);

            return(SqlConsultant.Select(
                       SqlEntityUtil.GetKeys <T>(this.Configuration),
                       this.sExpression,
                       this.Order));
        }
コード例 #2
0
        public string Fisrt()
        {
            var SqlConsultant = SqlConsultantHelper.CreateQuerier(Type, this.Configuration);

            return(SqlConsultant.Fisrt(this.sExpression, this.Order));
        }
コード例 #3
0
        public string Sum <TReturn>(Expression <Func <T, TReturn> > property)
        {
            var SqlConsultant = SqlConsultantHelper.CreateQuerier(Type, this.Configuration);

            return(SqlConsultant.Sum(ExpressionUtil.ToSqlSeleccion(property), this.sExpression, this.Group));
        }
コード例 #4
0
        public string Count()
        {
            var SqlConsultant = SqlConsultantHelper.CreateQuerier(Type, this.Configuration);

            return(SqlConsultant.Count(this.sExpression, this.Group));
        }