Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LocationTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLocationTypes(LocationType locationType)
 {
     base.AddObject("LocationTypes", locationType);
 }
Example #2
0
 /// <summary>
 /// Create a new LocationType object.
 /// </summary>
 /// <param name="locationTypeID">Initial value of the LocationTypeID property.</param>
 /// <param name="locationTypeName">Initial value of the LocationTypeName property.</param>
 public static LocationType CreateLocationType(global::System.Decimal locationTypeID, global::System.String locationTypeName)
 {
     LocationType locationType = new LocationType();
     locationType.LocationTypeID = locationTypeID;
     locationType.LocationTypeName = locationTypeName;
     return locationType;
 }