/// <summary>
 /// Deprecated Method for adding a new object to the especialidad EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToespecialidad(especialidad especialidad)
 {
     base.AddObject("especialidad", especialidad);
 }
 /// <summary>
 /// Create a new especialidad object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="nombre">Initial value of the nombre property.</param>
 public static especialidad Createespecialidad(global::System.Int32 id, global::System.String nombre)
 {
     especialidad especialidad = new especialidad();
     especialidad.id = id;
     especialidad.nombre = nombre;
     return especialidad;
 }