SQL-027: Insert county
Insert county in the context of clsCounty.
Classification
Field
Value
SQL ID
SQL-027
Operation type
Insert
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsCounty
Criteria property
InsertSQL
Lifecycle method
BeforeInsert / AfterInsert
Parameters
Parameter
Direction
Type
Max length
Description
:Code
Input
bound from Code
5
Bound in clsCounty.BeforeInsert (line 221)
:Name
Input
bound from Name
40
Bound in clsCounty.BeforeInsert (line 222)
:State
Input
bound from State
2
Bound in clsCounty.BeforeInsert (line 223)
:OfficeCode
Input
bound from m_OfficeCode
5
Bound in clsCounty.BeforeInsert (line 224)
Tables
Table
Access
Columns used
COUNTY
INSERT
See sample SQL
Sample SQL
INSERT INTO
COUNTY
(
COUNTY_CODE ,
COUNTY_NAME ,
STATE ,
OFFICE_CODE
)
VALUES
(
: Code ,
: Name ,
: State ,
: OfficeCode
)
Business rules
Note: Statements marked with * were inferred from code structure, naming conventions, or
contextual evidence where direct confirmation was not available in source artifacts. Statements
marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Policy.Core\clsCounty.vb