---
title: Institutions
summary: API reference for the SAIF.Institutions type.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: BankValidator
reference_type: package
---

# Institutions

`SAIF.Institutions` is an auto-generated typed `DataSet` whose schema matches the bank-detail XML returned by the ABA service.

## Purpose
- Represent the `Institution` table and its XML schema as a strongly typed in-memory `DataSet`.
- Provide the container used by `clsValidateBank.GetBankFullDS` when bank details are returned as structured data.

## Context
- Namespace: `SAIF`
- Assembly/package: `BankValidator` / `SAIF.Legacy.BankValidator`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `New` | `Sub New()` | Initialize the typed `DataSet`, schema, and table collection. |
| `Institution` | `ReadOnly Property Institution As InstitutionDataTable` | Expose the typed `Institution` table defined by the schema. |
| `SchemaSerializationMode` | `Property SchemaSerializationMode As SchemaSerializationMode` | Control how the DataSet includes schema information during XML serialization. |
| `Tables` | `ReadOnly Property Tables As DataTableCollection` | Expose the underlying table collection from the base `DataSet`. |
| `Relations` | `ReadOnly Property Relations As DataRelationCollection` | Expose the underlying relation collection from the base `DataSet`. |
| `Clone` | `Function Clone() As DataSet` | Create a cloned copy of the typed `DataSet`. |
| `GetTypedDataSetSchema` | `Function GetTypedDataSetSchema(xs As XmlSchemaSet) As XmlSchemaComplexType` | Return the XML schema metadata for the typed `DataSet`. |

## Behavioral notes
- The generated initializer sets `DataSetName` to `Institutions`, sets the XML namespace to `http://tempuri.org/Institutions.xsd`, and disables constraint enforcement.
- `clsValidateBank.GetBankFullDS` creates this type and loads vendor XML into it by calling `ReadXml(..., XmlReadMode.ReadSchema)`.
- The schema defines a single typed table named `Institution` with bank-detail fields such as `LYONS_ID`, `NAME`, `MICR`, `ACH`, address fields, and contact fields.

## Constraints and usage notes
- This type is generated from `Institutions.xsd`; manual edits to the designer file can be overwritten by regeneration.
- The public member list above documents the top-level `Institutions` DataSet surface; generated nested row and table types are part of the same generated schema family.
- Consumers receiving the result through `GetBankFullDS` should treat it as an XML-shaped DataSet rather than as a persistence or domain model.

## Sources
- `Legacy\BankValidator\clsValidateBank.vb`
- `Legacy\BankValidator\Institutions.Designer.vb`
- `Legacy\BankValidator\Institutions.xsd`
