/// <summary> /// Create a new Politica object. /// </summary> /// <param name="politicaId">Initial value of the PoliticaId property.</param> /// <param name="secuencia">Initial value of the Secuencia property.</param> /// <param name="descripcion">Initial value of the Descripcion property.</param> /// <param name="baja">Initial value of the Baja property.</param> public static Politica CreatePolitica(global::System.Int32 politicaId, global::System.Int16 secuencia, global::System.String descripcion, global::System.Boolean baja) { Politica politica = new Politica(); politica.PoliticaId = politicaId; politica.Secuencia = secuencia; politica.Descripcion = descripcion; politica.Baja = baja; return politica; }
/// <summary> /// Deprecated Method for adding a new object to the Politicas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPoliticas(Politica politica) { base.AddObject("Politicas", politica); }