コード例 #1
0
ファイル: T2TDb.Designer.cs プロジェクト: mikestam/t2t
 /// <summary>
 /// Create a new Equipment1 object.
 /// </summary>
 /// <param name="equipmentID">Initial value of the EquipmentID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Equipment1 CreateEquipment1(global::System.Int32 equipmentID, global::System.String name)
 {
     Equipment1 equipment1 = new Equipment1();
     equipment1.EquipmentID = equipmentID;
     equipment1.Name = name;
     return equipment1;
 }
コード例 #2
0
ファイル: T2TDb.Designer.cs プロジェクト: mikestam/t2t
 /// <summary>
 /// Deprecated Method for adding a new object to the Equipment1 EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEquipment1(Equipment1 equipment1)
 {
     base.AddObject("Equipment1", equipment1);
 }