private static QueryByIDsAdapterBase <DataTable> GetMemberContainersAdapter(string[] schemaTypes, SearchOUIDType idType, string[] ids, bool includeDeleted) { QueryByIDsAdapterBase <DataTable> result = null; switch (idType) { case SearchOUIDType.LogOnName: result = new QueryMemberBelongToContainersByCodeNamesReturnTableAdapter(schemaTypes, ids, includeDeleted); break; case SearchOUIDType.Guid: result = new QueryMemberBelongToContainersByGuidsReturnTableAdapter(schemaTypes, ids, includeDeleted); break; case SearchOUIDType.FullPath: result = new QueryMemberBelongToContainersByFullPathsReturnTableAdapter(schemaTypes, ids, includeDeleted); break; } return(result); }
private static QueryByIDsAdapterBase<DataTable> GetMemberContainersAdapter(string[] schemaTypes, SearchOUIDType idType, string[] ids, bool includeDeleted) { QueryByIDsAdapterBase<DataTable> result = null; switch (idType) { case SearchOUIDType.LogOnName: result = new QueryMemberBelongToContainersByCodeNamesReturnTableAdapter(schemaTypes, ids, includeDeleted); break; case SearchOUIDType.Guid: result = new QueryMemberBelongToContainersByGuidsReturnTableAdapter(schemaTypes, ids, includeDeleted); break; case SearchOUIDType.FullPath: result = new QueryMemberBelongToContainersByFullPathsReturnTableAdapter(schemaTypes, ids, includeDeleted); break; } return result; }