Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit c383506

Browse files
committed
Update docs
1 parent bde50b1 commit c383506

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,20 @@ if (!db.ColumnExists<Poco>(x => x.Age)) //= false
17161716
db.ColumnExists<Poco>(x => x.Age); //= true
17171717
```
17181718

1719+
#### Modify Schema APIs
1720+
1721+
Additional Modify Schema APIs are available in the [OrmLiteSchemaModifyApi](https://github.com/ServiceStack/ServiceStack.OrmLite/blob/master/src/ServiceStack.OrmLite/OrmLiteSchemaModifyApi.cs) class:
1722+
1723+
- `AlterTable`
1724+
- `AddColumn`
1725+
- `AlterColumn`
1726+
- `ChangeColumnName`
1727+
- `DropColumn`
1728+
- `AddForeignKey`
1729+
- `DropForeignKey`
1730+
- `CreateIndex`
1731+
- `DropIndex`
1732+
17191733
### Typed `Sql.Cast()` SQL Modifier
17201734

17211735
The `Sql.Cast()` provides a cross-database abstraction for casting columns or expressions in SQL queries, e.g:

0 commit comments

Comments
 (0)