// 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();
 }
 // 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;
 }
 // Update a existed aspnet_PersonalizationAllUsers
 public aspnet_PersonalizationAllUsers Updateaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers _aspnet_PersonalizationAllUsers)
 {
     unitOfWork.Update<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;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_PersonalizationAllUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers aspnet_PersonalizationAllUsers)
 {
     base.AddObject("aspnet_PersonalizationAllUsers", aspnet_PersonalizationAllUsers);
 }
 /// <summary>
 /// Create a new aspnet_PersonalizationAllUsers object.
 /// </summary>
 /// <param name="pathId">Initial value of the PathId property.</param>
 /// <param name="pageSettings">Initial value of the PageSettings property.</param>
 /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param>
 public static aspnet_PersonalizationAllUsers Createaspnet_PersonalizationAllUsers(global::System.Guid pathId, global::System.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;
 }
 // Default contructor
 public aspnet_PersonalizationAllUsersModel()
 {
     this.IsNewItem = true;
     this._aspnet___personalization_all_users = new aspnet_PersonalizationAllUsers();
 }