Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AspNetUserLogins EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAspNetUserLogins(AspNetUserLogins aspNetUserLogins)
 {
     base.AddObject("AspNetUserLogins", aspNetUserLogins);
 }
Exemple #2
0
 /// <summary>
 /// Create a new AspNetUserLogins object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="loginProvider">Initial value of the LoginProvider property.</param>
 /// <param name="providerKey">Initial value of the ProviderKey property.</param>
 public static AspNetUserLogins CreateAspNetUserLogins(global::System.String userId, global::System.String loginProvider, global::System.String providerKey)
 {
     AspNetUserLogins aspNetUserLogins = new AspNetUserLogins();
     aspNetUserLogins.UserId = userId;
     aspNetUserLogins.LoginProvider = loginProvider;
     aspNetUserLogins.ProviderKey = providerKey;
     return aspNetUserLogins;
 }