Ejemplo n.º 1
0
 /// <summary>
 /// Create a new DieFormula object.
 /// </summary>
 /// <param name="idDieFormula">Initial value of the idDieFormula property.</param>
 /// <param name="idNumberOfCavities">Initial value of the idNumberOfCavities property.</param>
 /// <param name="idProfileType">Initial value of the idProfileType property.</param>
 /// <param name="idProfileCategory">Initial value of the idProfileCategory property.</param>
 /// <param name="dieFormulaText">Initial value of the DieFormulaText property.</param>
 public static DieFormula CreateDieFormula(global::System.Int32 idDieFormula, global::System.Int32 idNumberOfCavities, global::System.Int32 idProfileType, global::System.Int32 idProfileCategory, global::System.String dieFormulaText)
 {
     DieFormula dieFormula = new DieFormula();
     dieFormula.idDieFormula = idDieFormula;
     dieFormula.idNumberOfCavities = idNumberOfCavities;
     dieFormula.idProfileType = idProfileType;
     dieFormula.idProfileCategory = idProfileCategory;
     dieFormula.DieFormulaText = dieFormulaText;
     return dieFormula;
 }
Ejemplo n.º 2
0
        public CallContext DieFormulaSave(DieFormula entity, CallContext resultContext)
        {
            resultContext.securitySettings  = ETEMEnums.SecuritySettings.DieFormulaSave;
            CallContext resContext          = new DieFormulaBL().EntitySave<DieFormula>(entity, resultContext);

            return resContext;
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DieFormulas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDieFormulas(DieFormula dieFormula)
 {
     base.AddObject("DieFormulas", dieFormula);
 }