Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LabMembers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLabMembers(LabMember labMember)
 {
     base.AddObject("LabMembers", labMember);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new LabMember object.
 /// </summary>
 /// <param name="labMemberId">Initial value of the LabMemberId property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 public static LabMember CreateLabMember(global::System.Int32 labMemberId, global::System.String lastName)
 {
     LabMember labMember = new LabMember();
     labMember.LabMemberId = labMemberId;
     labMember.LastName = lastName;
     return labMember;
 }