mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update sqlite updateColumn
This commit is contained in:
parent
e973e92b67
commit
8537cbef73
@ -258,7 +258,12 @@ namespace SqlSugar
|
|||||||
public override bool UpdateColumn(string tableName, DbColumnInfo column)
|
public override bool UpdateColumn(string tableName, DbColumnInfo column)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if (column.IsPrimarykey)
|
||||||
|
{
|
||||||
|
Check.ExceptionEasy("Sqlite no support alter column primary key","Sqlite不支持修改主键");
|
||||||
|
}
|
||||||
|
|
||||||
// Start a transaction
|
// Start a transaction
|
||||||
this.Context.Ado.BeginTran();
|
this.Context.Ado.BeginTran();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user