/// <summary> /// Deprecated Method for adding a new object to the USAZipCodes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUSAZipCodes(USAZipCode uSAZipCode) { base.AddObject("USAZipCodes", uSAZipCode); }
/// <summary> /// Create a new USAZipCode object. /// </summary> /// <param name="postalCodeID">Initial value of the PostalCodeID property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="state">Initial value of the State property.</param> /// <param name="county">Initial value of the County property.</param> /// <param name="type">Initial value of the Type property.</param> public static USAZipCode CreateUSAZipCode(global::System.Int32 postalCodeID, global::System.String city, global::System.String state, global::System.String county, global::System.String type) { USAZipCode uSAZipCode = new USAZipCode(); uSAZipCode.PostalCodeID = postalCodeID; uSAZipCode.City = city; uSAZipCode.State = state; uSAZipCode.County = county; uSAZipCode.Type = type; return uSAZipCode; }