コード例 #1
0
 /// <summary>
 /// Initialize a new instance of SortArgument
 /// </summary>
 /// <param name="Entity"></param>
 /// <param name="Attribute"></param>
 /// <param name="SortOption"></param>
 public SortArgument(QueryableEntity Entity, DataAttribute Attribute, MongoDBSort SortOption)
 {
     this.Entity     = Entity;
     this.Attribute  = Attribute;
     this.SortOption = SortOption;
 }
コード例 #2
0
 /// <summary>
 /// Initialize a new instance of ProjectArgument
 /// </summary>
 /// <param name="Attribute">Attribute name</param>
 /// <param name="ParentEntity">Entity that owns attribute</param>
 /// <param name="Expression">Expression to apply to the attribute</param>
 public ProjectArgument(DataAttribute Attribute, QueryableEntity ParentEntity, ProjectExpression Expression)
 {
     this.Attribute    = Attribute;
     this.ParentEntity = ParentEntity;
     this.Expression   = Expression;
 }
コード例 #3
0
 /// <summary>
 /// Initialize a new instance of FromArgument class
 /// </summary>
 /// <param name="Entity"></param>
 /// <param name="MapRules"></param>
 public FromArgument(QueryableEntity Entity, ModelMapping MapRules)
 {
     this.Entity   = Entity;
     this.MapRules = MapRules;
 }