/// <summary> /// Create a new material object. /// </summary> /// <param name="idMaterial">Initial value of the idMaterial property.</param> /// <param name="strDesMat">Initial value of the strDesMat property.</param> /// <param name="strQtdMat">Initial value of the strQtdMat property.</param> public static material Creatematerial(global::System.Int32 idMaterial, global::System.String strDesMat, global::System.String strQtdMat) { material material = new material(); material.idMaterial = idMaterial; material.strDesMat = strDesMat; material.strQtdMat = strQtdMat; return(material); }
/// <summary> /// Create a new material object. /// </summary> /// <param name="idMaterial">Initial value of the idMaterial property.</param> /// <param name="strDesMat">Initial value of the strDesMat property.</param> /// <param name="strQtdMat">Initial value of the strQtdMat property.</param> public static material Creatematerial(global::System.Int32 idMaterial, global::System.String strDesMat, global::System.String strQtdMat) { material material = new material(); material.idMaterial = idMaterial; material.strDesMat = strDesMat; material.strQtdMat = strQtdMat; return material; }
/// <summary> /// Deprecated Method for adding a new object to the materials EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomaterials(material material) { base.AddObject("materials", material); }