Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Options EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOptions(Options options)
 {
     base.AddObject("Options", options);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Options object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="number">Initial value of the Number property.</param>
 public static Options CreateOptions(global::System.Int32 id, global::System.Int32 number)
 {
     Options options = new Options();
     options.Id = id;
     options.Number = number;
     return options;
 }