// Default contructor that set entity to field
 public aspnet_PersonalizationPerUserModel(aspnet_PersonalizationPerUser aspnet_personalizationperuser)
 {
     this._aspnet___personalization_per_user = aspnet_personalizationperuser;
     this._id = aspnet_personalizationperuser.Id;
     this._path_id = aspnet_personalizationperuser.PathId;
     this._user_id = aspnet_personalizationperuser.UserId;
     this._page_settings = aspnet_personalizationperuser.PageSettings;
     this._last_updated_date = aspnet_personalizationperuser.LastUpdatedDate;
     this._originalaspnet_PersonalizationPerUser = aspnet_personalizationperuser.DeepClone();
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_PersonalizationPerUser EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser aspnet_PersonalizationPerUser)
 {
     base.AddObject("aspnet_PersonalizationPerUser", aspnet_PersonalizationPerUser);
 }
 /// <summary>
 /// Create a new aspnet_PersonalizationPerUser object.
 /// </summary>
 /// <param name="id">Initial value of the Id 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_PersonalizationPerUser Createaspnet_PersonalizationPerUser(global::System.Guid id, global::System.Byte[] pageSettings, global::System.DateTime lastUpdatedDate)
 {
     aspnet_PersonalizationPerUser aspnet_PersonalizationPerUser = new aspnet_PersonalizationPerUser();
     aspnet_PersonalizationPerUser.Id = id;
     aspnet_PersonalizationPerUser.PageSettings = pageSettings;
     aspnet_PersonalizationPerUser.LastUpdatedDate = lastUpdatedDate;
     return aspnet_PersonalizationPerUser;
 }
 // Default contructor
 public aspnet_PersonalizationPerUserModel()
 {
     this.IsNewItem = true;
     this._aspnet___personalization_per_user = new aspnet_PersonalizationPerUser();
 }
 // Delete a existed aspnet_PersonalizationPerUser
 public void Deleteaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Delete<aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
 }
 // Add a new aspnet_PersonalizationPerUser
 public aspnet_PersonalizationPerUser Addaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Add<aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
     return _aspnet_PersonalizationPerUser;
 }
 // Update a existed aspnet_PersonalizationPerUser
 public aspnet_PersonalizationPerUser Updateaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Update<aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
     return _aspnet_PersonalizationPerUser;
 }
 // Refresh an existed aspnet_PersonalizationPerUser
 public aspnet_PersonalizationPerUser Refeshaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Refresh<aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
     return _aspnet_PersonalizationPerUser;
 }