/// <summary>
 /// Gets the property value by name.
 /// </summary>
 /// <param name="entity">The entity.</param>
 /// <param name="propertyName">Name of the property.</param>
 /// <returns></returns>
 public static object GetPropertyValueByName(QuarterlyOrders entity, string propertyName)
 {
     switch (propertyName)
     {
         case "CustomerId":
             return entity.CustomerId;
         case "CompanyName":
             return entity.CompanyName;
         case "City":
             return entity.City;
         case "Country":
             return entity.Country;
     }
     return null;
 }
 ///<summary>
 ///  Returns a Typed QuarterlyOrdersBase Entity 
 ///</summary>
 public virtual QuarterlyOrdersBase Copy()
 {
     //shallow copy entity
     QuarterlyOrders copy = new QuarterlyOrders();
         copy.CustomerId = this.CustomerId;
         copy.CompanyName = this.CompanyName;
         copy.City = this.City;
         copy.Country = this.Country;
     copy.AcceptChanges();
     return (QuarterlyOrders)copy;
 }
 ///<summary>
 /// A simple factory method to create a new <see cref="QuarterlyOrders"/> instance.
 ///</summary>
 ///<param name="_customerId"></param>
 ///<param name="_companyName"></param>
 ///<param name="_city"></param>
 ///<param name="_country"></param>
 public static QuarterlyOrders CreateQuarterlyOrders(System.String _customerId, System.String _companyName, System.String _city, System.String _country)
 {
     QuarterlyOrders newQuarterlyOrders = new QuarterlyOrders();
     newQuarterlyOrders.CustomerId = _customerId;
     newQuarterlyOrders.CompanyName = _companyName;
     newQuarterlyOrders.City = _city;
     newQuarterlyOrders.Country = _country;
     return newQuarterlyOrders;
 }