/// <summary>
 /// Deprecated Method for adding a new object to the Settings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSettings(Setting setting)
 {
     base.AddObject("Settings", setting);
 }
예제 #2
0
 public void EditSetting(DAL.Setting setting, string ssvalue)
 {
     rep.EditSetting(setting, ssvalue);
 }
 /// <summary>
 /// Create a new Setting object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Setting CreateSetting(global::System.Int32 id)
 {
     Setting setting = new Setting();
     setting.ID = id;
     return setting;
 }