Пример #1
0
 /// <summary>
 /// Create a new Member object.
 /// </summary>
 /// <param name="memberId">Initial value of the MemberId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Member CreateMember(global::System.Int32 memberId, global::System.String name)
 {
     Member member = new Member();
     member.MemberId = memberId;
     member.Name = name;
     return member;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Member EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMember(Member member)
 {
     base.AddObject("Member", member);
 }