/// <summary> /// 创建新的 View_RoleAndUser 对象。 /// </summary> /// <param name="userID">UserID 属性的初始值。</param> /// <param name="roleID">RoleID 属性的初始值。</param> /// <param name="isDeleted">IsDeleted 属性的初始值。</param> public static View_RoleAndUser CreateView_RoleAndUser(global::System.Guid userID, global::System.Guid roleID, global::System.Boolean isDeleted) { View_RoleAndUser view_RoleAndUser = new View_RoleAndUser(); view_RoleAndUser.UserID = userID; view_RoleAndUser.RoleID = roleID; view_RoleAndUser.IsDeleted = isDeleted; return view_RoleAndUser; }
/// <summary> /// 用于向 View_RoleAndUser EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToView_RoleAndUser(View_RoleAndUser view_RoleAndUser) { base.AddObject("View_RoleAndUser", view_RoleAndUser); }