Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MembershipTokens EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMembershipTokens(MembershipToken membershipToken)
 {
     base.AddObject("MembershipTokens", membershipToken);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new MembershipToken object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static MembershipToken CreateMembershipToken(global::System.Guid id, global::System.String description)
 {
     MembershipToken membershipToken = new MembershipToken();
     membershipToken.ID = id;
     membershipToken.Description = description;
     return membershipToken;
 }