Пример #1
0
        /// <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);
        }
Пример #2
0
 /// <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;
 }
Пример #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the materials EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomaterials(material material)
 {
     base.AddObject("materials", material);
 }
Пример #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the materials EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomaterials(material material)
 {
     base.AddObject("materials", material);
 }