You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 24, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1716,6 +1716,20 @@ if (!db.ColumnExists<Poco>(x => x.Age)) //= false
1716
1716
db.ColumnExists<Poco>(x=>x.Age); //= true
1717
1717
```
1718
1718
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
+
1719
1733
### Typed `Sql.Cast()` SQL Modifier
1720
1734
1721
1735
The `Sql.Cast()` provides a cross-database abstraction for casting columns or expressions in SQL queries, e.g:
0 commit comments