/// <summary> /// Create a new SiteModuleDefinitions object. /// </summary> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="moduleDefID">Initial value of the ModuleDefID property.</param> public static SiteModuleDefinitions CreateSiteModuleDefinitions(global::System.Int32 siteID, global::System.Int32 moduleDefID) { SiteModuleDefinitions siteModuleDefinitions = new SiteModuleDefinitions(); siteModuleDefinitions.SiteID = siteID; siteModuleDefinitions.ModuleDefID = moduleDefID; return siteModuleDefinitions; }
/// <summary> /// Deprecated Method for adding a new object to the SiteModuleDefinitions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSiteModuleDefinitions(SiteModuleDefinitions siteModuleDefinitions) { base.AddObject("SiteModuleDefinitions", siteModuleDefinitions); }