Esempio n. 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);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new LocationType object.
 /// </summary>
 /// <param name="locTypeId">Initial value of the LocTypeId property.</param>
 /// <param name="locTypeName">Initial value of the LocTypeName property.</param>
 public static LocationType CreateLocationType(global::System.Int32 locTypeId, global::System.String locTypeName)
 {
     LocationType locationType = new LocationType();
     locationType.LocTypeId = locTypeId;
     locationType.LocTypeName = locTypeName;
     return locationType;
 }