/// <summary> /// Create a new Banco object. /// </summary> /// <param name="bancoId">Initial value of the BancoId property.</param> /// <param name="nome">Initial value of the Nome property.</param> /// <param name="numero">Initial value of the Numero property.</param> /// <param name="dataCriacao">Initial value of the DataCriacao property.</param> public static Banco CreateBanco(global::System.Int32 bancoId, global::System.String nome, global::System.String numero, global::System.DateTime dataCriacao) { Banco banco = new Banco(); banco.BancoId = bancoId; banco.Nome = nome; banco.Numero = numero; banco.DataCriacao = dataCriacao; return banco; }
/// <summary> /// Deprecated Method for adding a new object to the Banco EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBanco(Banco banco) { base.AddObject("Banco", banco); }