Exemplo n.º 1
0
        public static DataTable ToDataTable(BsonDocument document)
        {
            DocumentsToDataTable documentsToDataTable = new DocumentsToDataTable(new BsonDocument[] { document });

            return(documentsToDataTable.ToDataTable());
        }
Exemplo n.º 2
0
        public static DataTable ToDataTable(IEnumerable <BsonDocument> documents)
        {
            DocumentsToDataTable documentsToDataTable = new DocumentsToDataTable(documents);

            return(documentsToDataTable.ToDataTable());
        }