// Default contructor that set entity to field
 public aspnet_PersonalizationAllUsersModel(aspnet_PersonalizationAllUsers aspnet_personalizationallusers)
 {
     this._aspnet___personalization_all_users = aspnet_personalizationallusers;
     this._path_id           = aspnet_personalizationallusers.PathId;
     this._page_settings     = aspnet_personalizationallusers.PageSettings;
     this._last_updated_date = aspnet_personalizationallusers.LastUpdatedDate;
     this._originalaspnet_PersonalizationAllUsers = aspnet_personalizationallusers.DeepClone();
 }
Пример #2
0
 /// <summary>
 /// Create a new aspnet_PersonalizationAllUsers object.
 /// </summary>
 /// <param name="pathId">Initial value of PathId.</param>
 /// <param name="pageSettings">Initial value of PageSettings.</param>
 /// <param name="lastUpdatedDate">Initial value of LastUpdatedDate.</param>
 public static aspnet_PersonalizationAllUsers Createaspnet_PersonalizationAllUsers(global::System.Guid pathId, byte[] pageSettings, global::System.DateTime lastUpdatedDate)
 {
     aspnet_PersonalizationAllUsers aspnet_PersonalizationAllUsers = new aspnet_PersonalizationAllUsers();
     aspnet_PersonalizationAllUsers.PathId = pathId;
     aspnet_PersonalizationAllUsers.PageSettings = pageSettings;
     aspnet_PersonalizationAllUsers.LastUpdatedDate = lastUpdatedDate;
     return aspnet_PersonalizationAllUsers;
 }
Пример #3
0
 /// <summary>
 /// There are no comments for aspnet_PersonalizationAllUsers in the schema.
 /// </summary>
 public void AddToaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers aspnet_PersonalizationAllUsers)
 {
     base.AddObject("aspnet_PersonalizationAllUsers", aspnet_PersonalizationAllUsers);
 }
        private void Fixupaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers previousValue)
        {
            if (previousValue != null && ReferenceEquals(previousValue.aspnet_Paths, this))
            {
                previousValue.aspnet_Paths = null;
            }

            if (aspnet_PersonalizationAllUsers != null)
            {
                aspnet_PersonalizationAllUsers.aspnet_Paths = this;
            }
        }
 // Update a existed aspnet_PersonalizationAllUsers
 public aspnet_PersonalizationAllUsers Updateaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers _aspnet_PersonalizationAllUsers)
 {
     unitOfWork.Update <aspnet_PersonalizationAllUsers>(_aspnet_PersonalizationAllUsers);
     return(_aspnet_PersonalizationAllUsers);
 }
 // Delete a existed aspnet_PersonalizationAllUsers
 public void Deleteaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers _aspnet_PersonalizationAllUsers)
 {
     unitOfWork.Delete <aspnet_PersonalizationAllUsers>(_aspnet_PersonalizationAllUsers);
 }
 // Add a new aspnet_PersonalizationAllUsers
 public aspnet_PersonalizationAllUsers Addaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers _aspnet_PersonalizationAllUsers)
 {
     unitOfWork.Add <aspnet_PersonalizationAllUsers>(_aspnet_PersonalizationAllUsers);
     return(_aspnet_PersonalizationAllUsers);
 }
 // Refresh an existed aspnet_PersonalizationAllUsers
 public aspnet_PersonalizationAllUsers Refeshaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers _aspnet_PersonalizationAllUsers)
 {
     unitOfWork.Refresh <aspnet_PersonalizationAllUsers>(_aspnet_PersonalizationAllUsers);
     return(_aspnet_PersonalizationAllUsers);
 }