コード例 #1
0
 /// <summary>
 /// Create a new cupons_brinde object.
 /// </summary>
 /// <param name="cupomBrindeId">Initial value of the CupomBrindeId property.</param>
 /// <param name="codigo">Initial value of the Codigo property.</param>
 /// <param name="grupo">Initial value of the Grupo property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="qtdMaxima">Initial value of the QtdMaxima property.</param>
 /// <param name="tipoNfe">Initial value of the TipoNfe property.</param>
 public static cupons_brinde Createcupons_brinde(global::System.Int32 cupomBrindeId, global::System.String codigo, global::System.String grupo, global::System.DateTime dataIns, global::System.String status, global::System.Int32 qtdMaxima, global::System.String tipoNfe)
 {
     cupons_brinde cupons_brinde = new cupons_brinde();
     cupons_brinde.CupomBrindeId = cupomBrindeId;
     cupons_brinde.Codigo = codigo;
     cupons_brinde.Grupo = grupo;
     cupons_brinde.DataIns = dataIns;
     cupons_brinde.Status = status;
     cupons_brinde.QtdMaxima = qtdMaxima;
     cupons_brinde.TipoNfe = tipoNfe;
     return cupons_brinde;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the cupons_brinde EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocupons_brinde(cupons_brinde cupons_brinde)
 {
     base.AddObject("cupons_brinde", cupons_brinde);
 }