Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ToS EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToToS(ToS toS)
 {
     base.AddObject("ToS", toS);
 }
Пример #2
0
 /// <summary>
 /// Create a new ToS object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dictionaryId">Initial value of the DictionaryId property.</param>
 /// <param name="scriptId">Initial value of the ScriptId property.</param>
 public static ToS CreateToS(global::System.Int32 id, global::System.Int32 dictionaryId, global::System.Int32 scriptId)
 {
     ToS toS = new ToS();
     toS.Id = id;
     toS.DictionaryId = dictionaryId;
     toS.ScriptId = scriptId;
     return toS;
 }