コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShiftTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShiftTypes(ShiftType shiftType)
 {
     base.AddObject("ShiftTypes", shiftType);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ShiftType object.
 /// </summary>
 /// <param name="shiftTypeID">Initial value of the ShiftTypeID property.</param>
 public static ShiftType CreateShiftType(global::System.Int16 shiftTypeID)
 {
     ShiftType shiftType = new ShiftType();
     shiftType.ShiftTypeID = shiftTypeID;
     return shiftType;
 }