private void DetachFacts(Fact entity) { entity.Region = null; }
private bool FilterFacts(Fact entity) { return (entity.RegionID == this.RegionID); }
private bool FilterFacts(Fact entity) { return (entity.ProductID == this.ProductID); }
private void AttachFacts(Fact entity) { entity.Region = this; }
private void AttachFacts(Fact entity) { entity.Product = this; }
private void DetachFacts(Fact entity) { entity.Product = null; }
private bool FilterFacts(Fact entity) { return (entity.OrderID == this.OrderID); }
private void DetachFacts(Fact entity) { entity.Order = null; }
private void AttachFacts(Fact entity) { entity.Order = this; }
/// <summary> /// Create a new Fact object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="regionID">Initial value of the RegionID property.</param> public static Fact CreateFact(global::System.Int32 id, global::System.Int32 productID, global::System.Int32 orderID, global::System.Int32 regionID) { Fact fact = new Fact(); fact.ID = id; fact.ProductID = productID; fact.OrderID = orderID; fact.RegionID = regionID; return fact; }
/// <summary> /// Deprecated Method for adding a new object to the Facts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFacts(Fact fact) { base.AddObject("Facts", fact); }