TAILIEUCHUNG - Introducing Windows Azure- P17

Introducing Windows Azure- P17:The cloud platform is getting more and more attractive to the computing world. Today, service-oriented architecture (SOA) and aspect-oriented programming (AOP) techniques are widely used in enterprise solutions. A question an IT management team or a software development team may ask is, what is the next trend going to be? Cloud computing seems to be the right answer. | CHAPTER 2 ACCESS CLOUD TABLE STORAGE namespace CloudTableStorageService using using CloudTableStorageService using CloudTableStorageService abstract public class DataTableService ICloudTableStorageService protected StorageAccountInfo account null protected TableContext dataTableContext null protected CloudTableServiceFactory cloudTableFactory new CloudTableServiceFactory public DataTableService Get the settings from the Service Configuration file account cloudTableFactory new CloudTableServiceFactory public TableContext TableContext return dataTableContext virtual public bool Insert ICloudEntity entity bool success false ICloudEntity dependency null try entity dependency while null dependency cloudTableFactory new CloudTableServiceFactory dependency .Insert dependency dependency success true catch return success virtual public bool Update ICloudEntity entity 53 CHAPTER 2 ACCESS CLOUD TABLE STORAGE bool success false if null entity entity entity success true return success virtual public bool Delete ICloudEntity entity bool success false if null entity foreach ICloudEntity entityType in ICloudEntity dependency QueryDependencyEntity entityType entity as TableStorageEntity .RowKey if null dependency dependency .Delete dependency try entity entity .

TÀI LIỆU MỚI ĐĂNG
31    225    0    29-03-2024
44    181    0    29-03-2024
8    162    0    29-03-2024
10    148    0    29-03-2024
23    147    0    29-03-2024
37    128    0    29-03-2024
24    127    0    29-03-2024
10    112    0    29-03-2024
5    114    0    29-03-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.