Inheritance: System.Data.Objects.DataClasses.EntityObject
Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the centros EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocentros(centro centro)
 {
     base.AddObject("centros", centro);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new centro object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="lugar">Initial value of the lugar property.</param>
 /// <param name="siguiente_expediente">Initial value of the siguiente_expediente property.</param>
 public static centro Createcentro(global::System.Int64 id, global::System.String lugar, global::System.Decimal siguiente_expediente)
 {
     centro centro = new centro();
     centro.id = id;
     centro.lugar = lugar;
     centro.siguiente_expediente = siguiente_expediente;
     return centro;
 }