コード例 #1
0
ファイル: Entities.cs プロジェクト: hmnzr/PSAEC-Website
 /// <summary>
 /// Create a new SettingsEntry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 public static SettingsEntry CreateSettingsEntry(global::System.Int32 id, global::System.String value)
 {
     SettingsEntry settingsEntry = new SettingsEntry();
     settingsEntry.Id = id;
     settingsEntry.Value = value;
     return settingsEntry;
 }
コード例 #2
0
ファイル: Entities.cs プロジェクト: hmnzr/PSAEC-Website
 /// <summary>
 /// Deprecated Method for adding a new object to the SettingsEntrySet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSettingsEntrySet(SettingsEntry settingsEntry)
 {
     base.AddObject("SettingsEntrySet", settingsEntry);
 }