/// <summary> /// Deprecated Method for adding a new object to the fretes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTofretes(fretes fretes) { base.AddObject("fretes", fretes); }
/// <summary> /// Create a new fretes object. /// </summary> /// <param name="freteId">Initial value of the FreteId property.</param> /// <param name="frete">Initial value of the Frete property.</param> /// <param name="ativo">Initial value of the Ativo property.</param> /// <param name="nomePublico">Initial value of the NomePublico property.</param> /// <param name="sigla">Initial value of the Sigla property.</param> /// <param name="expresso">Initial value of the Expresso property.</param> public static fretes Createfretes(global::System.Int32 freteId, global::System.String frete, global::System.Byte ativo, global::System.String nomePublico, global::System.String sigla, global::System.Byte expresso) { fretes fretes = new fretes(); fretes.FreteId = freteId; fretes.Frete = frete; fretes.Ativo = ativo; fretes.NomePublico = nomePublico; fretes.Sigla = sigla; fretes.Expresso = expresso; return fretes; }