Title here
Summary here
A data flow source for MonogDb.
public class MongoDbSource<TOutput> : DataFlowExecutableSource<TOutput>, IDataFlowExecutableSource<TOutput>, IDataFlowSource<TOutput>, IDataFlowExecutableSource, IDataFlowSource, IDataFlowComponent, ILoggableTask| Name | Description |
|---|---|
| TOutput | Type of outgoing data. |
public MongoDbSource()Default batch size when retrieving documents.
public const int DEFAULT_BATCH_SIZE = 1000| Type | Description |
|---|---|
| int |
Name of the collection to retrieve the documents from.
public string CollectionName { get; set; }| Type | Description |
|---|---|
| string |
If you provide a connection string, this component will create a new MongoClient object to connect with MongoDb. If you already have a client object instantiated in your application, use DbClient instead to pass it directly to the component.
public string ConnectionString { get; set; }| Type | Description |
|---|---|
| string |
The used database.
public string DatabaseName { get; set; }| Type | Description |
|---|---|
| string |
An existing MongoClient that holds a MongoDb connection.
public MongoClient DbClient { get; set; }| Type | Description |
|---|---|
| MongoClient |
A filter description applied when retrieving the documents from the collection.
public FilterDefinition<BsonDocument> Filter { get; set; }| Type | Description |
|---|---|
| FilterDefinition<BsonDocument> |
Additional find options when retrieving the documents from the collection.
public FindOptions FindOptions { get; set; }| Type | Description |
|---|---|
| FindOptions |
protected override void CheckParameter() protected override void CleanUpOnFaulted(Exception e)| Type | Name | Description |
|---|---|---|
| Exception | e |
protected override void CleanUpOnSuccess() protected override void OnExecutionDoAsyncWork()