public static CreateVendor ( global vendorID, global accountNumber, global name, global creditRating, global preferredVendorStatus, global activeFlag, global modifiedDate ) : |
||
vendorID | global | Initial value of the VendorID property. |
accountNumber | global | Initial value of the AccountNumber property. |
name | global | Initial value of the Name property. |
creditRating | global | Initial value of the CreditRating property. |
preferredVendorStatus | global | Initial value of the PreferredVendorStatus property. |
activeFlag | global | Initial value of the ActiveFlag property. |
modifiedDate | global | Initial value of the ModifiedDate property. |
리턴 |
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;
}