Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ciudad EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTociudad(ciudad ciudad)
 {
     base.AddObject("ciudad", ciudad);
 }
Пример #2
0
 /// <summary>
 /// Create a new ciudad object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="nombre">Initial value of the nombre property.</param>
 /// <param name="estado_id">Initial value of the estado_id property.</param>
 public static ciudad Createciudad(global::System.Int32 id, global::System.String nombre, global::System.Int32 estado_id)
 {
     ciudad ciudad = new ciudad();
     ciudad.id = id;
     ciudad.nombre = nombre;
     ciudad.estado_id = estado_id;
     return ciudad;
 }