コード例 #1
0
        public MvaToken AddMvaToken(MvaToken mvaToken)
        {            
            var ent = new MvaTokenTableEntity(mvaToken);
            TableOperation op = TableOperation.Insert(ent);
            TokenTable.Execute(op);

            return mvaToken;
        }
コード例 #2
0
 public MvaTokenTableEntity(MvaToken mt)
 {
     PartitionKey = mt.Mvanumber.ToString();
     RowKey = mt.Token.Replace("/", "_");   //table storage does not allow '/' symbols in keys. Needs to be replaced.
 }