Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_Users EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_Users(aspnet_User aspnet_User)
 {
     base.AddObject("aspnet_Users", aspnet_User);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new aspnet_User object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="loweredUserName">Initial value of the LoweredUserName property.</param>
 /// <param name="isAnonymous">Initial value of the IsAnonymous property.</param>
 /// <param name="lastActivityDate">Initial value of the LastActivityDate property.</param>
 /// <param name="applicationId">Initial value of the ApplicationId property.</param>
 public static aspnet_User Createaspnet_User(global::System.Guid userId, global::System.String userName, global::System.String loweredUserName, global::System.Boolean isAnonymous, global::System.DateTime lastActivityDate, global::System.Guid applicationId)
 {
     aspnet_User aspnet_User = new aspnet_User();
     aspnet_User.UserId = userId;
     aspnet_User.UserName = userName;
     aspnet_User.LoweredUserName = loweredUserName;
     aspnet_User.IsAnonymous = isAnonymous;
     aspnet_User.LastActivityDate = lastActivityDate;
     aspnet_User.ApplicationId = applicationId;
     return aspnet_User;
 }