Beispiel #1
0
 public string FapDynamicToUpdateSql(FapDynamicObject fdo, string tableName, IEnumerable <FapColumn> columns)
 {
     if (CurrentConnection != null)
     {
         return(CurrentConnection.FapDynamicDataToUpdateSql(tableName, columns, fdo));
     }
     else
     {
         using var connection = GetDbConnection(DataSourceEnum.MASTER);
         return(connection.FapDynamicDataToUpdateSql(tableName, columns, fdo));
     }
 }