AdoDotNetRootObjectSelector.SelectObjects 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过数据读取器返回根对象属性,如非敏感连接属性和某些 DbConnection 属性。
protected:
override Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataReader ^ SelectObjects(System::String ^ typeName, cli::array <System::Object ^> ^ restrictions, cli::array <System::String ^> ^ properties, cli::array <System::Object ^> ^ parameters);
protected override Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader SelectObjects (string typeName, object[] restrictions, string[] properties, object[] parameters);
override this.SelectObjects : string * obj[] * string[] * obj[] -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
Protected Overrides Function SelectObjects (typeName As String, restrictions As Object(), properties As String(), parameters As Object()) As IVsDataReader
参数
- typeName
- String
映射的类型的名称。
- restrictions
- Object[]
一个数组,其中包含用于筛选对象选择的限制。
- properties
- String[]
一个包含属性的数组。 当前版本的 DDEX 不支持属性。
- parameters
- Object[]
包含参数的数组。
返回
一个 IVsDataReader 对象,表示返回属性的数据读取器。
例外
typeName 参数为 null。
参数的长度 typeName 不大于零。
restrictions参数为 null,或者其长度不大于零。
未能获取提供程序。