5
Tengo una colección llamada "servidores" con los siguientes documentos.MongoDB: cómo cargar la colección con matrices anidadas en C#?
{
name: "West",
ip: "123.123.123.123",
channels:
[
{
name: "English",
port: "1234",
status: "0"
},
{
name: "Spanish",
port: "1235",
status: "0"
},
{
name: "German",
port: "1236",
status: "0"
}
]
},
{
name: "East",
ip: "122.122.122.122",
channels:
[
{
name: "English",
port: "1234",
status: "0"
},
{
name: "French",
port: "1235",
status: "0"
}
]
}
¿Cómo seleccionaría eso de MongoDB usando C# using structures?
Bien gracias. Eso funciona bien –
De nada. –
Eso funcionaría con Sturct también, ¿verdad? No solo clase, sino también estructura. –