Example #1
0
        public StaticSelectBuilder <T> Select <TAliasedEntity>(string alias, params Expression <Func <TAliasedEntity, object> >[] propertySelectors)
        {
            var propertyNames = propertySelectors.Select(GetPropertyName);

            _sqlQuery.AddPropertiesToSelect <TAliasedEntity>(alias, propertyNames);

            return(this);
        }