예제 #1
0
 /// <summary>
 /// Create a new UserCredential object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="provider">Initial value of the Provider property.</param>
 /// <param name="identifier">Initial value of the Identifier property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static UserCredential CreateUserCredential(global::System.Int64 id, global::System.Int64 userID, global::System.String provider, global::System.String identifier, global::System.DateTime createDate)
 {
     UserCredential userCredential = new UserCredential();
     userCredential.ID = id;
     userCredential.UserID = userID;
     userCredential.Provider = provider;
     userCredential.Identifier = identifier;
     userCredential.CreateDate = createDate;
     return userCredential;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserCredentials EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserCredentials(UserCredential userCredential)
 {
     base.AddObject("UserCredentials", userCredential);
 }