Пример #1
0
        public static DataTable ToDataTable(BsonDocument document)
        {
            DocumentsToDataTable documentsToDataTable = new DocumentsToDataTable(new BsonDocument[] { document });

            return(documentsToDataTable.ToDataTable());
        }
Пример #2
0
        public static DataTable ToDataTable(IEnumerable <BsonDocument> documents)
        {
            DocumentsToDataTable documentsToDataTable = new DocumentsToDataTable(documents);

            return(documentsToDataTable.ToDataTable());
        }