public static Vendor CreateVendor(global::System.Int32 vendorID, global::System.String accountNumber, global::System.String name, global::System.Byte creditRating, global::System.Boolean preferredVendorStatus, global::System.Boolean activeFlag, global::System.DateTime modifiedDate)
{
Vendor vendor = new Vendor();
vendor.VendorID = vendorID;
vendor.AccountNumber = accountNumber;
vendor.Name = name;
vendor.CreditRating = creditRating;
vendor.PreferredVendorStatus = preferredVendorStatus;
vendor.ActiveFlag = activeFlag;
vendor.ModifiedDate = modifiedDate;
return vendor;
}