Esempio n. 1
0
 /// <summary>
 /// 创建新的 vw_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 vw_aspnet_Users Createvw_aspnet_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)
 {
     vw_aspnet_Users vw_aspnet_Users = new vw_aspnet_Users();
     vw_aspnet_Users.ApplicationId = applicationId;
     vw_aspnet_Users.UserId = userId;
     vw_aspnet_Users.UserName = userName;
     vw_aspnet_Users.LoweredUserName = loweredUserName;
     vw_aspnet_Users.IsAnonymous = isAnonymous;
     vw_aspnet_Users.LastActivityDate = lastActivityDate;
     return vw_aspnet_Users;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 vw_aspnet_Users EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTovw_aspnet_Users(vw_aspnet_Users vw_aspnet_Users)
 {
     base.AddObject("vw_aspnet_Users", vw_aspnet_Users);
 }