有关Object Data Source说法正确的是()A、它只能绑定数据访问层方法,才能返回正确数据B、只有通过ADO.NET方式访问数据库C、使用Object Data Source需要在表现层写SQL语句操作数据库D、Object Data Source一般绑定业务逻辑层方法

题目

有关Object Data Source说法正确的是()

  • A、它只能绑定数据访问层方法,才能返回正确数据
  • B、只有通过ADO.NET方式访问数据库
  • C、使用Object Data Source需要在表现层写SQL语句操作数据库
  • D、Object Data Source一般绑定业务逻辑层方法

相似考题
更多“有关Object Data Source说法正确的是()”相关问题
  • 第1题:

    The(72)turns the source file into an object file and the(73)turns the object file into an executable file.

    A.translator

    B.compiler

    C.interpreter

    D.linker


    正确答案:B
    解析:译文:编译程序将源文件转换成目标文件,连接程序将目标文件转换成可执行文件。

  • 第2题:

    在OSS中,用户操作的基本数据单元是Object,Object中不包含哪个元素?()

    • A、key
    • B、id
    • C、meta
    • D、data

    正确答案:B

  • 第3题:

    The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the found code entered. The values needed to generate this summary data are stored in multiple tables. Which data source type can you assign to the data block for this form without having the DBA create a database object?()

    • A、database table 
    • B、transactional trigger 
    • C、stored procedure 
    • D、FROM clause query 
    • E、client-side procedure

    正确答案:D

  • 第4题:

    You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort. What should you do? ()

    • A、Access the personalization data from the Session property of the HttpContext object.
    • B、Access the personalization data from the Application property of the HttpContext object.
    • C、Access the personalization data from the Cache property of the HttpContext object.
    • D、Access the personalization data from the Profile property of the HttpContext object.

    正确答案:D

  • 第5题:

    You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a ListBox control named lbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of lbxItems. Which binding expression should you use?()

    • A、 { Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }
    • B、 { Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }
    • C、 { Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }
    • D、 { Binding Source=lbxItems, Path=SelectedItem.DisplayValue }

    正确答案:C

  • 第6题:

    单选题
    You are creating the DEPT_SAL data block from the PAYHIST form. Users should be able to enter a valid department ID number, which will then display the employee salary information for that department. This data block could potentially retrieve a large number of records. Since users will probably only view a small number of these records, only 10 records should be fetched at one time. How would you create the data block?()
    A

    Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property. 

    B

    Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 

    C

    Choose Tools -> Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables. 

    D

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property. 

    E

    Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.


    正确答案: E
    解析: 暂无解析

  • 第7题:

    单选题
    You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a ListBox control named lbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of lbxItems. Which binding expression should you use?()
    A

     { Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }

    B

     { Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }

    C

     { Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }

    D

     { Binding Source=lbxItems, Path=SelectedItem.DisplayValue }


    正确答案: C
    解析: 暂无解析

  • 第8题:

    单选题
    Why is a data source required?()
    A

     Data source contains data required for impact event enrichment.

    B

     Data source contains data required for calculating server downtime.

    C

     Data source contains data required for services and other related service information.

    D

     Data source contains data required for LDAP configurations, including login attempts and errors.


    正确答案: C
    解析: 暂无解析

  • 第9题:

    多选题
    You use Microsoft .NET Framework 4 to create a Windows Forms application. You add a new class named Customer to the application. You select the Customer class to create a new object data source. You add the following components to a Windows Form: A BindingSource component named customerBindingSource that is data-bound to the Customer object data source. A set of TextBox controls to display and edit the Customer object properties. Each TextBox control is data-bound to a property of the customerBindingSource component. An ErrorProvider component named errorProvider that validates the input values for each TextBox control. You need to ensure that the input data for each TextBox control is automatically validated by using the ErrorProvider component. Which two actions should you perform?()
    A

     Implement the validation rules inside the Validating event handler of each TextBox control by throwing an exception when the value is invalid.

    B

     Implement the validation rules inside the TextChanged event handler of each TextBox control by throwing an exception when the value is invalid.

    C

     Implement the validation rules inside the setter of each property of the Customer class by throwing an exception when the value is invalid.

    D

     Add the following code segment to the InitializeComponent method of the Windows Form.   this.errorProvider.DataSource = this.customerBindingSource;

    E

     Add the following code segment to the InitializeComponent method of the Windows Form.    this.errorProvider.DataSource = this.customerBindingSource.DataSource;    this.errorProvider.DataMember = this.customerBindingSource.DataMember;


    正确答案: C,D
    解析: 暂无解析

  • 第10题:

    单选题
    You design a Business Intelligence (BI) solution by using SQL Server 2008. You create a SQL Server 2008 Reporting Services (SSRS) solution by using SQL Server 2008. Several reports on the server use a shared data source named DSProduction. You modify an existing report that uses the DSProduction data source. After deployment, the modified report must use an alternate data source. You need to prevent the modified report from affecting other reports. What should you do?()
    A

     Update the connection string of the DSProduction shared data source to point to the alternate data source.

    B

     Update the modified report to use a report-specific data source. Update the connection string of the report-specific data source to point to the alternate data source.

    C

     Create a new shared data source named DSProduction in the same folder as that of the modified report. Update the connection string of the new shared data source to point to the alternate data source.

    D

     Disable the DSProduction data source. Update the modified report to use a report-specific data source. Update the connection string of the report-specific data source to point to the alternate data source.


    正确答案: D
    解析: 暂无解析

  • 第11题:

    多选题
    A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in athread-safe manner. Which two can support this design goal?()
    A

    Store the data in a local variable.

    B

    Store the data in an instance variable.

    C

    Store the data in the HttpSession object.

    D

    Store the data in the ServletContext object.

    E

    Store the data in the ServletRequest object.


    正确答案: C,D
    解析: 暂无解析

  • 第12题:

    单选题
    下列哪个控件可以通过绑定中间层对象来管理数据库()
    A

    Sql Data Souce

    B

    Xml Data Source

    C

    Object Data Source

    D

    Access Data Source


    正确答案: C
    解析: 暂无解析

  • 第13题:

    Because objects( ) data and implementation, the user of an object can view the object as a black box that provides services.

    A.encapsulate
    B.inherit
    C.connect
    D.refer

    答案:A
    解析:

  • 第14题:

    下列哪个控件可以通过绑定中间层对象来管理数据库()

    • A、Sql Data Souce
    • B、Xml Data Source
    • C、Object Data Source
    • D、Access Data Source

    正确答案:C

  • 第15题:

    A Company.com developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner.  Which two can support this design goal?()

    • A、 Store the data in a local variable.
    • B、 Store the data in an instance variable.
    • C、 Store the data in the HttpSession object.
    • D、 Store the data in the ServletContext object.
    • E、 Store the data in the ServletRequest object.

    正确答案:A,E

  • 第16题:

    You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()

    • A、Pass the object data in a hidden field.
    • B、Store the object instance in a session variable.
    • C、Use a cookie that contains the object data.
    • D、Encode the object data and pass it in a query string parameter.

    正确答案:B

  • 第17题:

    Why is a data source required?()

    • A、 Data source contains data required for impact event enrichment.
    • B、 Data source contains data required for calculating server downtime.
    • C、 Data source contains data required for services and other related service information.
    • D、 Data source contains data required for LDAP configurations, including login attempts and errors.

    正确答案:C

  • 第18题:

    单选题
    The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the fund code entered. The value needed to generate this summary data are stored in multiple tables. How would you define the data source for this data block without having the DBA create a database object? ()
    A

    Choose Tools -> Data Block Wizard, select View as the data source type, and base the block on the columns from the bales. 

    B

    Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 

    C

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually and alter the Query Data Source Columns and Query Data Source Arguments properties to enter the SELECT statement. 

    D

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Table', and enter the SELECT statement in the Query Data Source Name property. 

    E

    Choose Tools -> Data Block Wizard, select Stored Procedure as the data source type, and base the block on the columns the tables. 

    F

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually. Alter the Query Data Source Type to 'FROM' clause query', and enter the SELECT statement in the Query Data Source Name property.


    正确答案: A
    解析: 暂无解析

  • 第19题:

    单选题
    You are creating the SAL_INFO data block on the EMP_QUERY form. The SALARY field should only be populated if the logged-on user is a manager. Since this query could potentially return a large amount of records, you have created a stored procedure which uses a ref cursor on which to base the data block. How would you create the data block?()
    A

    Click the Data Blocks node in the Object Navigator and click the create button. Choose to build the data block manually. Enter the procedure name in the Query Data Source Columns property and the procedure code in the Query Data Source Arguments property. 

    B

    Choose Tools -> Data Block Wizard, select Table as the data source type, and base the data block on the columns included in the procedure. 

    C

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Ref cursor', and enter the name of the procedure in the Query Data Source Name property. 

    D

    Select the Data Blocks node in the Object Navigator and click the Create button. Alter the Query Data Source Name, Query Data Source Columns, and Query Data Source Arguments properties to create a stored procedure that uses a ref cursor. 

    E

    Launch the Data Block Wizard, select Stored Procedures as the data source type, and base the block on the procedure.


    正确答案: B
    解析: 暂无解析

  • 第20题:

    单选题
    有关Object Data Source说法正确的是()
    A

    它只能绑定数据访问层方法,才能返回正确数据

    B

    只有通过ADO.NET方式访问数据库

    C

    使用Object Data Source需要在表现层写SQL语句操作数据库

    D

    Object Data Source一般绑定业务逻辑层方法


    正确答案: B
    解析: 暂无解析

  • 第21题:

    多选题
    A Company.com developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner.  Which two can support this design goal?()
    A

    Store the data in a local variable.

    B

    Store the data in an instance variable.

    C

    Store the data in the HttpSession object.

    D

    Store the data in the ServletContext object.

    E

    Store the data in the ServletRequest object.


    正确答案: A,C
    解析: 暂无解析

  • 第22题:

    单选题
    How can you configure High Availability for interacting with a non-Oracle database using WebLogic?()
    A

    Configure multiple physical data sources and reuse the same JNDI name for each.

    B

    Use the compatibility option of Active GridLink to enable compatibility with non-Oracle  databases.

    C

    Configure a single physical data source for each node in a database cluster and wrap it using  Multi Data Source.

    D

    Configure a Data Source Group that contains a physical connection pool to each node in the  database cluster.


    正确答案: A
    解析: 暂无解析

  • 第23题:

    单选题
    You design a Business Intelligence (BI) solution by using SQL Server 2008. You design a SQL Server 2008 Analysis Services (SSAS) solution. Customer data is stored in the tables named CustomerDetails and CustomerContact. The solution uses the following two data sources from two different servers: ·Contoso that accesses the CustomerDetails table ·ContosoCRM that accesses the CustomerContact table You plan to create a dimension named DimCustomer to analyze customer data. You need to ensure that the DimCustomer dimension represents the tables as a snowflake schema to include attributes from the two tables. What should you do?()
    A

     Create a data source view named DsvContoso that is associated with the two data sources and add the tables to the data source view.

    B

     Create a data source view named DsvContoso that is associated with the two data sources and create a named query in the data source view to merge the tables.

    C

     Create a data source view named DsvCustomer that is associated with the Contoso data source and add the CustomerDetails table to the data source view.Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source and add the CustomerContact table to the data source view.

    D

     Create a data source view named DsvCustomer that is associated with the Contoso data source and create a named query in the data source view to select data from the CustomerDetails table.Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source and create a named query in the data source view to select data from the CustomerContact table.


    正确答案: D
    解析: 暂无解析