/// <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; }
/// <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; }
/// <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; }