Пример #1
0
 private bool FilterTraffic(Traffic entity)
 {
     return (entity.MemberID == this.ID);
 }
Пример #2
0
 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;
 }
Пример #4
0
 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&lt;T&gt; property instead.
 /// </summary>
 public void AddToTraffic(Traffic traffic)
 {
     base.AddObject("Traffic", traffic);
 }