/// <summary> /// Create a new invTypeMaterials object. /// </summary> /// <param name="typeID">Initial value of the typeID property.</param> /// <param name="materialTypeID">Initial value of the materialTypeID property.</param> /// <param name="quantity">Initial value of the quantity property.</param> public static invTypeMaterials CreateinvTypeMaterials(global::System.Int16 typeID, global::System.Int16 materialTypeID, global::System.Int32 quantity) { invTypeMaterials invTypeMaterials = new invTypeMaterials(); invTypeMaterials.typeID = typeID; invTypeMaterials.materialTypeID = materialTypeID; invTypeMaterials.quantity = quantity; return invTypeMaterials; }
/// <summary> /// Deprecated Method for adding a new object to the invTypeMaterials EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinvTypeMaterials(invTypeMaterials invTypeMaterials) { base.AddObject("invTypeMaterials", invTypeMaterials); }