Add collection attribute name
This commit is contained in:
		| @@ -1,8 +1,10 @@ | |||||||
| using MongoDB.Bson; | using Core.Blueprint.Mongo; | ||||||
|  | using MongoDB.Bson; | ||||||
| using MongoDB.Bson.Serialization.Attributes; | using MongoDB.Bson.Serialization.Attributes; | ||||||
|  |  | ||||||
| namespace Core.Thalos.BuildingBlocks | namespace Core.Thalos.BuildingBlocks | ||||||
| { | { | ||||||
|  |     [CollectionAttributeName("Tenants")] | ||||||
|     public class TenantAdapter : Document |     public class TenantAdapter : Document | ||||||
|     { |     { | ||||||
|         [BsonElement("name")] |         [BsonElement("name")] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user