コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Politicas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPoliticas(Politica politica)
 {
     base.AddObject("Politicas", politica);
 }