Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SubTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubTypes(SubType subType)
 {
     base.AddObject("SubTypes", subType);
 }
Example #2
0
 /// <summary>
 /// Create a new SubType object.
 /// </summary>
 /// <param name="subTypeId">Initial value of the SubTypeId property.</param>
 public static SubType CreateSubType(global::System.Int32 subTypeId)
 {
     SubType subType = new SubType();
     subType.SubTypeId = subTypeId;
     return subType;
 }