0
|
1 <% group # Basic CRUDL operations and SQL text generation %>
|
|
2 <% order # 152 %>
|
|
3
|
|
4 InsertSql.cs
|
|
5 <% ..\..\..\HowTo\DataAccess\InsertSql.cs %>
|
|
6 <i>DataAccessor.InsertSql</i> method generates and executes the following SQL statement:
|
|
7 <% sql #
|
|
8 INSERT INTO [Person] (
|
|
9 [MiddleName],
|
|
10 [Gender],
|
|
11 [LastName],
|
|
12 [FirstName]
|
|
13 ) VALUES (
|
|
14 @MiddleName,
|
|
15 @Gender,
|
|
16 @LastName,
|
|
17 @FirstName
|
|
18 )
|
|
19 %>
|
|
20 <a name='Person'></a>
|
|
21 Person.cs
|
|
22 <% ..\..\..\HowTo\DataAccess\Person.cs %>
|
|
23 Gender.cs
|
|
24 <% ..\..\..\HowTo\DataAccess\Gender.cs %>
|
|
25 App.config
|
|
26 <% Doc\Data\App.config %>
|
|
27 <a href="../Data/CreateSql.htm">Create.sql script</a>
|