internal static QueryByIDsAdapterBase <DataTable> GetUserContainersAdapter(string[] schemaTypes, SearchOUIDType idType, string[] ids, bool includeDeleted)
        {
            QueryByIDsAdapterBase <DataTable> result = null;

            switch (idType)
            {
            case SearchOUIDType.LogOnName:
                result = new QueryUserBelongToContainersByCodeNamesReturnTableAdapter(schemaTypes, ids, includeDeleted);
                break;

            case SearchOUIDType.Guid:
                result = new QueryUserBelongToContainersByGuidsReturnTableAdapter(schemaTypes, ids, includeDeleted);
                break;

            case SearchOUIDType.FullPath:
                result = new QueryUserBelongToContainersByFullPathsReturnTableAdapter(schemaTypes, ids, includeDeleted);
                break;
            }

            return(result);
        }
        internal static QueryByIDsAdapterBase<DataTable> GetUserContainersAdapter(string[] schemaTypes, SearchOUIDType idType, string[] ids, bool includeDeleted)
        {
            QueryByIDsAdapterBase<DataTable> result = null;

            switch (idType)
            {
                case SearchOUIDType.LogOnName:
                    result = new QueryUserBelongToContainersByCodeNamesReturnTableAdapter(schemaTypes, ids, includeDeleted);
                    break;
                case SearchOUIDType.Guid:
                    result = new QueryUserBelongToContainersByGuidsReturnTableAdapter(schemaTypes, ids, includeDeleted);
                    break;
                case SearchOUIDType.FullPath:
                    result = new QueryUserBelongToContainersByFullPathsReturnTableAdapter(schemaTypes, ids, includeDeleted);
                    break;
            }

            return result;
        }