/// <summary> /// Create a new ProductsType object. /// </summary> /// <param name="typeID">Initial value of the TypeID property.</param> /// <param name="productsType1">Initial value of the ProductsType1 property.</param> /// <param name="categorieID">Initial value of the CategorieID property.</param> public static ProductsType CreateProductsType(global::System.Int32 typeID, global::System.String productsType1, global::System.Int32 categorieID) { ProductsType productsType = new ProductsType(); productsType.TypeID = typeID; productsType.ProductsType1 = productsType1; productsType.CategorieID = categorieID; return productsType; }
/// <summary> /// Deprecated Method for adding a new object to the ProductsTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductsTypes(ProductsType productsType) { base.AddObject("ProductsTypes", productsType); }