/// <summary> /// Create a new PhoneType object. /// </summary> /// <param name="phoneTypeCode">Initial value of the PhoneTypeCode property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param> public static PhoneType CreatePhoneType(global::System.String phoneTypeCode, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDate) { PhoneType phoneType = new PhoneType(); phoneType.PhoneTypeCode = phoneTypeCode; phoneType.LastModifiedBy = lastModifiedBy; phoneType.LastModifiedDate = lastModifiedDate; return phoneType; }
/// <summary> /// Deprecated Method for adding a new object to the PhoneTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhoneTypes(PhoneType phoneType) { base.AddObject("PhoneTypes", phoneType); }