/// <summary> /// Create a new custofrete object. /// </summary> /// <param name="pesoMin">Initial value of the PesoMin property.</param> /// <param name="pesoMax">Initial value of the PesoMax property.</param> /// <param name="custoId">Initial value of the CustoId property.</param> /// <param name="faixaId">Initial value of the FaixaId property.</param> /// <param name="estadoId">Initial value of the EstadoId property.</param> /// <param name="paisId">Initial value of the PaisId property.</param> /// <param name="preco">Initial value of the Preco property.</param> /// <param name="freteId">Initial value of the FreteId property.</param> /// <param name="permiteFreteGratis">Initial value of the PermiteFreteGratis property.</param> /// <param name="ativo">Initial value of the Ativo property.</param> public static custofrete Createcustofrete(global::System.Int32 pesoMin, global::System.Int32 pesoMax, global::System.Int32 custoId, global::System.Int32 faixaId, global::System.Int32 estadoId, global::System.Int32 paisId, global::System.Decimal preco, global::System.Int32 freteId, global::System.Byte permiteFreteGratis, global::System.Byte ativo) { custofrete custofrete = new custofrete(); custofrete.PesoMin = pesoMin; custofrete.PesoMax = pesoMax; custofrete.CustoId = custoId; custofrete.FaixaId = faixaId; custofrete.EstadoId = estadoId; custofrete.PaisId = paisId; custofrete.Preco = preco; custofrete.FreteId = freteId; custofrete.PermiteFreteGratis = permiteFreteGratis; custofrete.Ativo = ativo; return custofrete; }
/// <summary> /// Deprecated Method for adding a new object to the custofrete EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocustofrete(custofrete custofrete) { base.AddObject("custofrete", custofrete); }