// Default contructor that set entity to field public aspnet_PathsModel(aspnet_Paths aspnet_paths) { this._aspnet___paths = aspnet_paths; this._application_id = aspnet_paths.ApplicationId; this._path_id = aspnet_paths.PathId; this._path = aspnet_paths.Path; this._lowered_path = aspnet_paths.LoweredPath; this._originalaspnet_Paths = aspnet_paths.DeepClone(); }
/// <summary> /// There are no comments for aspnet_Paths in the schema. /// </summary> public void AddToaspnet_Paths(aspnet_Paths aspnet_Paths) { base.AddObject("aspnet_Paths", aspnet_Paths); }
/// <summary> /// Create a new aspnet_Paths object. /// </summary> /// <param name="pathId">Initial value of PathId.</param> /// <param name="path">Initial value of Path.</param> /// <param name="loweredPath">Initial value of LoweredPath.</param> public static aspnet_Paths Createaspnet_Paths(global::System.Guid pathId, string path, string loweredPath) { aspnet_Paths aspnet_Paths = new aspnet_Paths(); aspnet_Paths.PathId = pathId; aspnet_Paths.Path = path; aspnet_Paths.LoweredPath = loweredPath; return aspnet_Paths; }
// Update a existed aspnet_Paths public aspnet_Paths Updateaspnet_Paths(aspnet_Paths _aspnet_Paths) { unitOfWork.Update <aspnet_Paths>(_aspnet_Paths); return(_aspnet_Paths); }
// Delete a existed aspnet_Paths public void Deleteaspnet_Paths(aspnet_Paths _aspnet_Paths) { unitOfWork.Delete <aspnet_Paths>(_aspnet_Paths); }
// Add a new aspnet_Paths public aspnet_Paths Addaspnet_Paths(aspnet_Paths _aspnet_Paths) { unitOfWork.Add <aspnet_Paths>(_aspnet_Paths); return(_aspnet_Paths); }
// Refresh an existed aspnet_Paths public aspnet_Paths Refeshaspnet_Paths(aspnet_Paths _aspnet_Paths) { unitOfWork.Refresh <aspnet_Paths>(_aspnet_Paths); return(_aspnet_Paths); }