/// <summary> /// Deprecated Method for adding a new object to the Municipios EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMunicipios(Municipios municipios) { base.AddObject("Municipios", municipios); }
/// <summary> /// Create a new Municipios object. /// </summary> /// <param name="municipio_Id">Initial value of the Municipio_Id property.</param> /// <param name="estadoId">Initial value of the EstadoId property.</param> /// <param name="nombre">Initial value of the Nombre property.</param> public static Municipios CreateMunicipios(global::System.Int32 municipio_Id, global::System.Int32 estadoId, global::System.String nombre) { Municipios municipios = new Municipios(); municipios.Municipio_Id = municipio_Id; municipios.EstadoId = estadoId; municipios.Nombre = nombre; return municipios; }