예제 #1
0
 public FromClause()
 {
     this.entities = new QueriedEntities(new List <QueriedEntity>
     {
         new QueriedEntity(typeof(TPrimaryEntity))
     });
 }
예제 #2
0
        public static QueryClause <TPrimaryEntity> Empty <TPrimaryEntity>() where TPrimaryEntity : IQueryableEntity
        {
            var entities = new QueriedEntities(new List <QueriedEntity>
            {
                new QueriedEntity(typeof(TPrimaryEntity))
            });

            entities.UpdateOptions(true);

            return(new QueryClause <TPrimaryEntity>(entities));
        }
예제 #3
0
 public JoinClause(QueriedEntities entities)
 {
     entities.GuardAgainstNull(nameof(entities));
     this.entities = entities;
 }