/// <summary>
 /// Create a new Modules object.
 /// </summary>
 /// <param name="moduleID">Initial value of the ModuleID property.</param>
 /// <param name="moduleDefID">Initial value of the ModuleDefID property.</param>
 /// <param name="cacheTime">Initial value of the CacheTime property.</param>
 /// <param name="editUserID">Initial value of the EditUserID property.</param>
 /// <param name="availableForMyPage">Initial value of the AvailableForMyPage property.</param>
 /// <param name="allowMultipleInstancesOnMyPage">Initial value of the AllowMultipleInstancesOnMyPage property.</param>
 /// <param name="countOfUseOnMyPage">Initial value of the CountOfUseOnMyPage property.</param>
 /// <param name="hideFromUnAuth">Initial value of the HideFromUnAuth property.</param>
 /// <param name="hideFromAuth">Initial value of the HideFromAuth property.</param>
 public static Modules CreateModules(global::System.Int32 moduleID, global::System.Int32 moduleDefID, global::System.Int32 cacheTime, global::System.Int32 editUserID, global::System.Boolean availableForMyPage, global::System.Boolean allowMultipleInstancesOnMyPage, global::System.Int32 countOfUseOnMyPage, global::System.Boolean hideFromUnAuth, global::System.Boolean hideFromAuth)
 {
     Modules modules = new Modules();
     modules.ModuleID = moduleID;
     modules.ModuleDefID = moduleDefID;
     modules.CacheTime = cacheTime;
     modules.EditUserID = editUserID;
     modules.AvailableForMyPage = availableForMyPage;
     modules.AllowMultipleInstancesOnMyPage = allowMultipleInstancesOnMyPage;
     modules.CountOfUseOnMyPage = countOfUseOnMyPage;
     modules.HideFromUnAuth = hideFromUnAuth;
     modules.HideFromAuth = hideFromAuth;
     return modules;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Modules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModules(Modules modules)
 {
     base.AddObject("Modules", modules);
 }