/// <summary> /// Create a new SubType object. /// </summary> /// <param name="subTypeID">Initial value of the SubTypeID property.</param> /// <param name="typeID">Initial value of the TypeID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="isEnabled">Initial value of the IsEnabled property.</param> public static SubType CreateSubType(global::System.Int32 subTypeID, global::System.Int32 typeID, global::System.String name, global::System.Boolean isEnabled) { SubType subType = new SubType(); subType.SubTypeID = subTypeID; subType.TypeID = typeID; subType.Name = name; subType.IsEnabled = isEnabled; return subType; }
/// <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); }