Beispiel #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>
 /// <param name="secondName">Initial value of the SecondName property.</param>
 /// <param name="eMail">Initial value of the eMail property.</param>
 /// <param name="bDate">Initial value of the BDate property.</param>
 /// <param name="regDate">Initial value of the RegDate property.</param>
 /// <param name="federated">Initial value of the Federated property.</param>
 public static Member CreateMember(global::System.Int32 memberID, global::System.String name, global::System.String secondName, global::System.String eMail, global::System.DateTime bDate, global::System.DateTime regDate, global::System.Boolean federated)
 {
     Member member = new Member();
     member.MemberID = memberID;
     member.Name = name;
     member.SecondName = secondName;
     member.eMail = eMail;
     member.BDate = bDate;
     member.RegDate = regDate;
     member.Federated = federated;
     return member;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Members EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMembers(Member member)
 {
     base.AddObject("Members", member);
 }