コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DeviceFallouts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDeviceFallouts(DeviceFallout deviceFallout)
 {
     base.AddObject("DeviceFallouts", deviceFallout);
 }
コード例 #2
0
 /// <summary>
 /// Create a new DeviceFallout object.
 /// </summary>
 /// <param name="falloutId">Initial value of the FalloutId property.</param>
 /// <param name="equipmentType">Initial value of the EquipmentType property.</param>
 /// <param name="serialNumber">Initial value of the SerialNumber property.</param>
 public static DeviceFallout CreateDeviceFallout(global::System.Int32 falloutId, global::System.Int32 equipmentType, global::System.String serialNumber)
 {
     DeviceFallout deviceFallout = new DeviceFallout();
     deviceFallout.FalloutId = falloutId;
     deviceFallout.EquipmentType = equipmentType;
     deviceFallout.SerialNumber = serialNumber;
     return deviceFallout;
 }