Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ModuleSettings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModuleSettings(ModuleSettings moduleSettings)
 {
     base.AddObject("ModuleSettings", moduleSettings);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new ModuleSettings object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static ModuleSettings CreateModuleSettings(global::System.Int32 id)
 {
     ModuleSettings moduleSettings = new ModuleSettings();
     moduleSettings.Id = id;
     return moduleSettings;
 }