Example #1
0
 // 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>
 /// Deprecated Method for adding a new object to the aspnet_Paths EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </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="applicationId">Initial value of the ApplicationId property.</param>
 /// <param name="pathId">Initial value of the PathId property.</param>
 /// <param name="path">Initial value of the Path property.</param>
 /// <param name="loweredPath">Initial value of the LoweredPath property.</param>
 public static aspnet_Paths Createaspnet_Paths(global::System.Guid applicationId, global::System.Guid pathId, global::System.String path, global::System.String loweredPath)
 {
     aspnet_Paths aspnet_Paths = new aspnet_Paths();
     aspnet_Paths.ApplicationId = applicationId;
     aspnet_Paths.PathId = pathId;
     aspnet_Paths.Path = path;
     aspnet_Paths.LoweredPath = loweredPath;
     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;
 }
 // Update a existed aspnet_Paths
 public aspnet_Paths Updateaspnet_Paths(aspnet_Paths _aspnet_Paths)
 {
     unitOfWork.Update<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;
 }
Example #8
0
 // Default contructor
 public aspnet_PathsModel()
 {
     this.IsNewItem = true;
     this._aspnet___paths = new aspnet_Paths();
 }