Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AspNetUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAspNetUsers(AspNetUsers aspNetUsers)
 {
     base.AddObject("AspNetUsers", aspNetUsers);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new AspNetUsers object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="emailConfirmed">Initial value of the EmailConfirmed property.</param>
 /// <param name="phoneNumberConfirmed">Initial value of the PhoneNumberConfirmed property.</param>
 /// <param name="twoFactorEnabled">Initial value of the TwoFactorEnabled property.</param>
 /// <param name="lockoutEnabled">Initial value of the LockoutEnabled property.</param>
 /// <param name="accessFailedCount">Initial value of the AccessFailedCount property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 public static AspNetUsers CreateAspNetUsers(global::System.String id, global::System.Boolean emailConfirmed, global::System.Boolean phoneNumberConfirmed, global::System.Boolean twoFactorEnabled, global::System.Boolean lockoutEnabled, global::System.Int32 accessFailedCount, global::System.String userName)
 {
     AspNetUsers aspNetUsers = new AspNetUsers();
     aspNetUsers.Id = id;
     aspNetUsers.EmailConfirmed = emailConfirmed;
     aspNetUsers.PhoneNumberConfirmed = phoneNumberConfirmed;
     aspNetUsers.TwoFactorEnabled = twoFactorEnabled;
     aspNetUsers.LockoutEnabled = lockoutEnabled;
     aspNetUsers.AccessFailedCount = accessFailedCount;
     aspNetUsers.UserName = userName;
     return aspNetUsers;
 }