/// <summary> /// Create a new codigos_promocoes object. /// </summary> /// <param name="codigoPromocional">Initial value of the CodigoPromocional property.</param> /// <param name="validade">Initial value of the Validade property.</param> /// <param name="tipo">Initial value of the Tipo property.</param> /// <param name="ativo">Initial value of the Ativo property.</param> /// <param name="dataIns">Initial value of the DataIns property.</param> /// <param name="valorMinimo">Initial value of the ValorMinimo property.</param> /// <param name="restricao">Initial value of the Restricao property.</param> public static codigos_promocoes Createcodigos_promocoes(global::System.String codigoPromocional, global::System.DateTime validade, global::System.String tipo, global::System.Byte ativo, global::System.DateTime dataIns, global::System.Decimal valorMinimo, global::System.String restricao) { codigos_promocoes codigos_promocoes = new codigos_promocoes(); codigos_promocoes.CodigoPromocional = codigoPromocional; codigos_promocoes.Validade = validade; codigos_promocoes.Tipo = tipo; codigos_promocoes.Ativo = ativo; codigos_promocoes.DataIns = dataIns; codigos_promocoes.ValorMinimo = valorMinimo; codigos_promocoes.Restricao = restricao; return codigos_promocoes; }
/// <summary> /// Deprecated Method for adding a new object to the codigos_promocoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocodigos_promocoes(codigos_promocoes codigos_promocoes) { base.AddObject("codigos_promocoes", codigos_promocoes); }