/// <summary> /// Create a new Centro object. /// </summary> /// <param name="id_Centro">Initial value of the Id_Centro property.</param> /// <param name="nombre_Centro">Initial value of the Nombre_Centro property.</param> /// <param name="direccion_Centro">Initial value of the Direccion_Centro property.</param> public static Centro CreateCentro(global::System.Decimal id_Centro, global::System.String nombre_Centro, global::System.String direccion_Centro) { Centro centro = new Centro(); centro.Id_Centro = id_Centro; centro.Nombre_Centro = nombre_Centro; centro.Direccion_Centro = direccion_Centro; return centro; }
/// <summary> /// Deprecated Method for adding a new object to the Centro EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCentro(Centro centro) { base.AddObject("Centro", centro); }