Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Remove unused Database property from MongoRepository.cs

supportd5282091f8f8
diff --git a/src/Core/Grand.Data/Mongo/MongoRepository.cs b/src/Core/Grand.Data/Mongo/MongoRepository.cs
index 1f27aba52..a6edc0399 100644
--- a/src/Core/Grand.Data/Mongo/MongoRepository.cs
+++ b/src/Core/Grand.Data/Mongo/MongoRepository.cs
@@ -26,8 +26,6 @@ public class MongoRepository<T> : IRepository<T> where T : BaseEntity
/// </summary>
protected IMongoDatabase _database;
- public IMongoDatabase Database => _database;
-
#endregion
#region Ctor