Ejemplo n.º 1
0
 public FromClause()
 {
     this.entities = new QueriedEntities(new List <QueriedEntity>
     {
         new QueriedEntity(typeof(TPrimaryEntity))
     });
 }
Ejemplo n.º 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));
        }
Ejemplo n.º 3
0
 public JoinClause(QueriedEntities entities)
 {
     entities.GuardAgainstNull(nameof(entities));
     this.entities = entities;
 }