Esempio n. 1
0
 public MoneyColumnMetadataModel(string provider, string accountName)
 {
     _entity = new MoneyColumnMetadataEntity
     {
         AccountName = accountName,
         Provider    = provider,
         Id          = Guid.NewGuid()
     };
 }
Esempio n. 2
0
 public MoneyColumnMetadataModel(string provider, string accountName)
 {
     Id      = Guid.NewGuid();
     _entity = new MoneyColumnMetadataEntity
     {
         AccountName  = accountName,
         Provider     = provider,
         PartitionKey = nameof(MoneyColumnMetadataEntity),
         RowKey       = Id.ToString()
     };
 }
Esempio n. 3
0
 public MoneyColumnMetadataModel(MoneyColumnMetadataEntity entity)
 {
     _entity = entity;
     Id      = Guid.Parse(_entity.RowKey);
 }
Esempio n. 4
0
 public MoneyColumnMetadataModel(MoneyColumnMetadataEntity entity)
 {
     _entity = entity;
 }