private bool FilterTraffic(Traffic entity) { return (entity.MemberID == this.ID); }
private void DetachTraffic(Traffic entity) { entity.Members = null; }
/// <summary> /// Create a new Traffic object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="memberID">Initial value of the MemberID property.</param> public static Traffic CreateTraffic(global::System.Int32 id, global::System.Int32 memberID) { Traffic traffic = new Traffic(); traffic.ID = id; traffic.MemberID = memberID; return traffic; }
private void AttachTraffic(Traffic entity) { entity.Members = this; }
/// <summary> /// Deprecated Method for adding a new object to the Traffic EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTraffic(Traffic traffic) { base.AddObject("Traffic", traffic); }