/// <summary> /// Create a new cupons object. /// </summary> /// <param name="cupomId">Initial value of the CupomId property.</param> /// <param name="dataIns">Initial value of the DataIns property.</param> /// <param name="tipoValor">Initial value of the TipoValor property.</param> /// <param name="tipo">Initial value of the Tipo property.</param> /// <param name="ativo">Initial value of the Ativo property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="codigo">Initial value of the Codigo property.</param> public static cupons Createcupons(global::System.Int32 cupomId, global::System.DateTime dataIns, global::System.String tipoValor, global::System.String tipo, global::System.Byte ativo, global::System.String status, global::System.String codigo) { cupons cupons = new cupons(); cupons.CupomId = cupomId; cupons.DataIns = dataIns; cupons.TipoValor = tipoValor; cupons.Tipo = tipo; cupons.Ativo = ativo; cupons.Status = status; cupons.Codigo = codigo; return cupons; }
/// <summary> /// Deprecated Method for adding a new object to the cupons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocupons(cupons cupons) { base.AddObject("cupons", cupons); }