public OnDuplicateKeyUpdate(IInsert <T1> insert) { _mysqlInsert = insert as MySqlInsert <T1>; if (_mysqlInsert == null) { throw new Exception("OnDuplicateKeyUpdate 是 FreeSql.Provider.MySql/FreeSql.Provider.MySqlConnector 特有的功能"); } }
public OnDuplicateKeyUpdate(IInsert <T1> insert) { _mysqlInsert = insert as MySqlInsert <T1>; if (_mysqlInsert == null) { throw new Exception(CoreStrings.S_Features_Unique("OnDuplicateKeyUpdate", "MySql/FreeSql.Provider.MySqlConnector")); } if (_mysqlInsert._noneParameterFlag == "c") { _mysqlInsert._noneParameterFlag = "cu"; } }