Пример #1
0
 // 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();
 }
Пример #2
0
 /// <summary>
 /// There are no comments for aspnet_PersonalizationPerUser in the schema.
 /// </summary>
 public void AddToaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser aspnet_PersonalizationPerUser)
 {
     base.AddObject("aspnet_PersonalizationPerUser", aspnet_PersonalizationPerUser);
 }
Пример #3
0
 /// <summary>
 /// Create a new aspnet_PersonalizationPerUser object.
 /// </summary>
 /// <param name="id">Initial value of Id.</param>
 /// <param name="pageSettings">Initial value of PageSettings.</param>
 /// <param name="lastUpdatedDate">Initial value of LastUpdatedDate.</param>
 public static aspnet_PersonalizationPerUser Createaspnet_PersonalizationPerUser(global::System.Guid id, 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;
 }
Пример #4
0
 // Update a existed aspnet_PersonalizationPerUser
 public aspnet_PersonalizationPerUser Updateaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Update <aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
     return(_aspnet_PersonalizationPerUser);
 }
Пример #5
0
 // Delete a existed aspnet_PersonalizationPerUser
 public void Deleteaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Delete <aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
 }
Пример #6
0
 // Add a new aspnet_PersonalizationPerUser
 public aspnet_PersonalizationPerUser Addaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Add <aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
     return(_aspnet_PersonalizationPerUser);
 }
Пример #7
0
 // Refresh an existed aspnet_PersonalizationPerUser
 public aspnet_PersonalizationPerUser Refeshaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser _aspnet_PersonalizationPerUser)
 {
     unitOfWork.Refresh <aspnet_PersonalizationPerUser>(_aspnet_PersonalizationPerUser);
     return(_aspnet_PersonalizationPerUser);
 }
Пример #8
0
 partial void Deleteaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);
Пример #9
0
 partial void Insertaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);
Пример #10
0
	private void detach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)
	{
		this.SendPropertyChanging();
		entity.aspnet_User = null;
	}
Пример #11
0
	private void attach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)
	{
		this.SendPropertyChanging();
		entity.aspnet_Path = this;
	}