添加项目文件。
This commit is contained in:
26
TightWiki.Repository/Scripts/CreatePage.sql
Normal file
26
TightWiki.Repository/Scripts/CreatePage.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
INSERT INTO Page
|
||||
(
|
||||
Name,
|
||||
Namespace,
|
||||
Description,
|
||||
Navigation,
|
||||
Revision,
|
||||
CreatedByUserId,
|
||||
CreatedDate,
|
||||
ModifiedByUserId,
|
||||
ModifiedDate
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
@Name,
|
||||
@Namespace,
|
||||
@Description,
|
||||
@Navigation,
|
||||
1,
|
||||
@CreatedByUserId,
|
||||
@CreatedDate,
|
||||
@ModifiedByUserId,
|
||||
@ModifiedDate
|
||||
);
|
||||
|
||||
SELECT last_insert_rowid();
|
||||
Reference in New Issue
Block a user