/// <summary> /// 用于向 aspnet_Users EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToaspnet_Users(aspnet_Users aspnet_Users) { base.AddObject("aspnet_Users", aspnet_Users); }
/// <summary> /// 创建新的 aspnet_Users 对象。 /// </summary> /// <param name="applicationId">ApplicationId 属性的初始值。</param> /// <param name="userId">UserId 属性的初始值。</param> /// <param name="userName">UserName 属性的初始值。</param> /// <param name="loweredUserName">LoweredUserName 属性的初始值。</param> /// <param name="isAnonymous">IsAnonymous 属性的初始值。</param> /// <param name="lastActivityDate">LastActivityDate 属性的初始值。</param> public static aspnet_Users Createaspnet_Users(global::System.Guid applicationId, global::System.Guid userId, global::System.String userName, global::System.String loweredUserName, global::System.Boolean isAnonymous, global::System.DateTime lastActivityDate) { aspnet_Users aspnet_Users = new aspnet_Users(); aspnet_Users.ApplicationId = applicationId; aspnet_Users.UserId = userId; aspnet_Users.UserName = userName; aspnet_Users.LoweredUserName = loweredUserName; aspnet_Users.IsAnonymous = isAnonymous; aspnet_Users.LastActivityDate = lastActivityDate; return aspnet_Users; }