Testing.SpecialOffer.CreateSpecialOffer C# (CSharp) Метод

CreateSpecialOffer() публичный статический Метод

Create a new SpecialOffer object.
public static CreateSpecialOffer ( global specialOfferID, global description, global discountPct, global type, global category, global startDate, global endDate, global minQty, global rowguid, global modifiedDate ) : SpecialOffer
specialOfferID global Initial value of the SpecialOfferID property.
description global Initial value of the Description property.
discountPct global Initial value of the DiscountPct property.
type global Initial value of the Type property.
category global Initial value of the Category property.
startDate global Initial value of the StartDate property.
endDate global Initial value of the EndDate property.
minQty global Initial value of the MinQty property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
Результат SpecialOffer
        public static SpecialOffer CreateSpecialOffer(global::System.Int32 specialOfferID, global::System.String description, global::System.Decimal discountPct, global::System.String type, global::System.String category, global::System.DateTime startDate, global::System.DateTime endDate, global::System.Int32 minQty, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            SpecialOffer specialOffer = new SpecialOffer();
            specialOffer.SpecialOfferID = specialOfferID;
            specialOffer.Description = description;
            specialOffer.DiscountPct = discountPct;
            specialOffer.Type = type;
            specialOffer.Category = category;
            specialOffer.StartDate = startDate;
            specialOffer.EndDate = endDate;
            specialOffer.MinQty = minQty;
            specialOffer.rowguid = rowguid;
            specialOffer.ModifiedDate = modifiedDate;
            return specialOffer;
        }