コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the webpages_Membership EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTowebpages_Membership(webpages_Membership webpages_Membership)
 {
     base.AddObject("webpages_Membership", webpages_Membership);
 }
コード例 #2
0
 /// <summary>
 /// Create a new webpages_Membership object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="passwordFailuresSinceLastSuccess">Initial value of the PasswordFailuresSinceLastSuccess property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="passwordSalt">Initial value of the PasswordSalt property.</param>
 public static webpages_Membership Createwebpages_Membership(global::System.Int32 userId, global::System.Int32 passwordFailuresSinceLastSuccess, global::System.String password, global::System.String passwordSalt)
 {
     webpages_Membership webpages_Membership = new webpages_Membership();
     webpages_Membership.UserId = userId;
     webpages_Membership.PasswordFailuresSinceLastSuccess = passwordFailuresSinceLastSuccess;
     webpages_Membership.Password = password;
     webpages_Membership.PasswordSalt = passwordSalt;
     return webpages_Membership;
 }