コード例 #1
0
ファイル: City.Designer.cs プロジェクト: jaccus/CitySimulator
 /// <summary>
 /// Deprecated Method for adding a new object to the SelectionMethods EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSelectionMethods(SelectionMethod selectionMethod)
 {
     base.AddObject("SelectionMethods", selectionMethod);
 }
コード例 #2
0
ファイル: City.Designer.cs プロジェクト: jaccus/CitySimulator
 /// <summary>
 /// Create a new SelectionMethod object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static SelectionMethod CreateSelectionMethod(global::System.Int32 id, global::System.String name)
 {
     SelectionMethod selectionMethod = new SelectionMethod();
     selectionMethod.Id = id;
     selectionMethod.Name = name;
     return selectionMethod;
 }