/// <summary> /// Deprecated Method for adding a new object to the SubTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubTypes(SubType subType) { base.AddObject("SubTypes", subType); }
/// <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; }