Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Filters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFilters(Filter filter)
 {
     base.AddObject("Filters", filter);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Filter object.
 /// </summary>
 /// <param name="filterId">Initial value of the FilterId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="target">Initial value of the Target property.</param>
 /// <param name="query">Initial value of the Query property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static Filter CreateFilter(global::System.Int32 filterId, global::System.String name, global::System.String target, global::System.String query, global::System.Boolean isActive, global::System.Int32 modifiedBy, global::System.DateTime modifiedDate, global::System.Int32 createdBy, global::System.DateTime createdDate)
 {
     Filter filter = new Filter();
     filter.FilterId = filterId;
     filter.Name = name;
     filter.Target = target;
     filter.Query = query;
     filter.IsActive = isActive;
     filter.ModifiedBy = modifiedBy;
     filter.ModifiedDate = modifiedDate;
     filter.CreatedBy = createdBy;
     filter.CreatedDate = createdDate;
     return filter;
 }