Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AllocationTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAllocationTypes(AllocationType allocationType)
 {
     base.AddObject("AllocationTypes", allocationType);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new AllocationType object.
 /// </summary>
 /// <param name="allocationTypeID">Initial value of the AllocationTypeID property.</param>
 public static AllocationType CreateAllocationType(global::System.Int32 allocationTypeID)
 {
     AllocationType allocationType = new AllocationType();
     allocationType.AllocationTypeID = allocationTypeID;
     return allocationType;
 }