Add project files.
This commit is contained in:
		
							
								
								
									
										13
									
								
								Core.Blueprint.DAL.Infrastrcture/Contracts/IMongoContext.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Core.Blueprint.DAL.Infrastrcture/Contracts/IMongoContext.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| using MongoDB.Driver; | ||||
|  | ||||
| namespace Core.Blueprint.DAL.Infrastructure.Contracts | ||||
| { | ||||
|     public interface IMongoContext | ||||
|     { | ||||
|          | ||||
|         IMongoClient _client { get; } | ||||
|         IMongoDatabase Database { get; } | ||||
|         void DropCollection<TDocument>(string partitionKey = null) where TDocument : class; | ||||
|         void SetUpDatabase(string database); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Sergio Matias Urquin
					Sergio Matias Urquin