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