示例#1
0
        public Guid Create(XmlDTO entity)
        {
            var            container = BlobStorageHelper.GetBlobContainerFromConfiguration(ContainerConnectionStringName);
            CloudBlockBlob blockBlob = container.GetBlockBlobReference(entity.Id.ToString());

            blockBlob.UploadText(entity.Document.ToString());

            return(entity.Id);
        }
示例#2
0
 public void Update(XmlDTO entity)
 {
     Create(entity);
 }
示例#3
0
 public void Delete(XmlDTO entity)
 {
     throw new NotImplementedException();
 }