/// <summary> /// Deprecated Method for adding a new object to the Bancos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBancos(Banco banco) { base.AddObject("Bancos", banco); }
/// <summary> /// Create a new Banco object. /// </summary> /// <param name="bancoId">Initial value of the BancoId property.</param> /// <param name="nombre">Initial value of the Nombre property.</param> /// <param name="fechaCreacion">Initial value of the FechaCreacion property.</param> /// <param name="baja">Initial value of the Baja property.</param> public static Banco CreateBanco(global::System.Int32 bancoId, global::System.String nombre, global::System.DateTime fechaCreacion, global::System.Boolean baja) { Banco banco = new Banco(); banco.BancoId = bancoId; banco.Nombre = nombre; banco.FechaCreacion = fechaCreacion; banco.Baja = baja; return banco; }