/// <summary> /// Deprecated Method for adding a new object to the centros EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocentros(centro centro) { base.AddObject("centros", centro); }
/// <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; }