AzureCosmosModel.cs 505 B

123456789101112131415161718
  1. using Azure.Cosmos;
  2. using Microsoft.Azure.Cosmos;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace TEAMModelOS.SDK.DI.AzureCosmos.Inner
  7. {
  8. public class AzureCosmosModel
  9. {
  10. public CosmosContainer container { get; set; }
  11. public bool cache { get; set; }
  12. public bool monitor { get; set; } = false;
  13. public Type type { get; set; }
  14. public string partitionKey { get; set; }
  15. public CosmosDatabase database { get; set; }
  16. }
  17. }