Testing.ProductModel.CreateProductModel C# (CSharp) Méthode

CreateProductModel() public static méthode

Create a new ProductModel object.
public static CreateProductModel ( global productModelID, global name, global rowguid, global modifiedDate ) : ProductModel
productModelID global Initial value of the ProductModelID property.
name global Initial value of the Name property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
Résultat ProductModel
        public static ProductModel CreateProductModel(global::System.Int32 productModelID, global::System.String name, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            ProductModel productModel = new ProductModel();
            productModel.ProductModelID = productModelID;
            productModel.Name = name;
            productModel.rowguid = rowguid;
            productModel.ModifiedDate = modifiedDate;
            return productModel;
        }