tailieunhanh - Introducing Windows Azure- P58

Introducing Windows Azure- P58: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 8 SQL AZURE As I mentioned there are two XML schemas that have been defined and therefore we have corresponding UI components identified as ParameterControl and SQLDataServiceControl. Now let us have a close look at how this approach tremendously simplified the UI design and development for an application such as SQLAzureConnect. ParameterControl The UI layout of the ParameterControl is shown in Figure 8-20 and the implementation is shown in Listing 8-15. A parameterized constructor has been added to this user control. The parameterized constructor accepts the XML data object SQLParameterRoot marked as a reference type and the instance of the parent form used to display the message back to the parent form . A BindingSource component is defined in this control and has been bound to the instance of the XML data object with the type of XML schema SQLParameter in the constructor of the user control as shown in the Listing 8-15. Figure 8-20. UI layout of the user control ParameterControl Listing 8-15. Implementations for ParameterControl using System using using using using using using using namespace SQLAzureConnect using public partial class ParameterControl UserControl private FormSQLAzureConnect parentForm null public SQLParameterRoot sqlParameter null public ParameterControl InitializeComponent public ParameterControl ref SQLParameterRoot sqlParameter FormSQLAzureConnect parentForm 283 CHAPTER 8 SQL AZURE InitializeComponent sqlParameter sqlParameter parentForm parentForm UpdateUI public void Add SOLParameterRoot sqlParameter sqlParameter public void DoDataExchange .

crossorigin="anonymous">
Đã 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.