/// <summary> /// Deprecated Method for adding a new object to the PurposeTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPurposeTypes(PurposeType purposeType) { base.AddObject("PurposeTypes", purposeType); }
/// <summary> /// Create a new PurposeType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static PurposeType CreatePurposeType(global::System.Int32 id) { PurposeType purposeType = new PurposeType(); purposeType.Id = id; return purposeType; }