public virtual VVendorBase Copy()
{
//shallow copy entity
VVendor copy = new VVendor();
copy.VendorId = this.VendorId;
copy.Name = this.Name;
copy.ContactType = this.ContactType;
copy.Title = this.Title;
copy.FirstName = this.FirstName;
copy.MiddleName = this.MiddleName;
copy.LastName = this.LastName;
copy.Suffix = this.Suffix;
copy.Phone = this.Phone;
copy.EmailAddress = this.EmailAddress;
copy.EmailPromotion = this.EmailPromotion;
copy.AddressLine1 = this.AddressLine1;
copy.AddressLine2 = this.AddressLine2;
copy.City = this.City;
copy.StateProvinceName = this.StateProvinceName;
copy.PostalCode = this.PostalCode;
copy.CountryRegionName = this.CountryRegionName;
copy.AcceptChanges();
return (VVendor)copy;
}