/// <summary> /// Deprecated Method for adding a new object to the ModuleDirectories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToModuleDirectories(ModuleDirectory moduleDirectory) { base.AddObject("ModuleDirectories", moduleDirectory); }
/// <summary> /// Create a new ModuleDirectory object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="applicationID">Initial value of the ApplicationID property.</param> /// <param name="directory">Initial value of the Directory property.</param> /// <param name="checkSubFolders">Initial value of the CheckSubFolders property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> public static ModuleDirectory CreateModuleDirectory(global::System.Int32 id, global::System.Int32 applicationID, global::System.String directory, global::System.Boolean checkSubFolders, global::System.DateTime created, global::System.DateTime modified) { ModuleDirectory moduleDirectory = new ModuleDirectory(); moduleDirectory.ID = id; moduleDirectory.ApplicationID = applicationID; moduleDirectory.Directory = directory; moduleDirectory.CheckSubFolders = checkSubFolders; moduleDirectory.Created = created; moduleDirectory.Modified = modified; return moduleDirectory; }