/// <summary> /// Create a new Country object. /// </summary> /// <param name="cID">Initial value of the CID property.</param> /// <param name="name">Initial value of the Name property.</param> public static Country CreateCountry(global::System.Int32 cID, global::System.String name) { Country country = new Country(); country.CID = cID; country.Name = name; return country; }
/// <summary> /// Deprecated Method for adding a new object to the Country EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCountry(Country country) { base.AddObject("Country", country); }