Source/Providers/NFX.MySQL/MySQLDataStore.cs
/// <summary>
///  Performs CRUD load without fetching data only returning schema. Override to do custom Query interpretation
/// </summary>
Performs CRUD load without fetching data only returning schema. Override to do custom Query interpretation
Performs CRUD load without fetching data only returning schema . Override to do custom Query interpretation
protected internal virtual Schema DoGetSchema(MySqlConnection cnn, MySqlTransaction transaction, Query query)
        {
            if (query==null) return null;
            var handler = QueryResolver.Resolve(query);
            try
            {
              return handler.GetSchema( new MySQLCRUDQueryExecutionContext(this, cnn, transaction), query);
            }
            catch (Exception error)
            {
              throw new MySQLDataAccessException(
                              StringConsts.GET_SCHEMA_ERROR + error.ToMessageWithType(),
                              error,
                              KeyViolationKind.Unspecified,
                              CRUDGenerator.KeyViolationName(error));
            }
        }
protected internal virtual Schema DoGetSchema ( MySqlConnection cnn , MySqlTransaction transaction , Query query ) { if ( query == null ) return null ; var handler = QueryResolver . Resolve ( query ) ; try { return handler . GetSchema ( new MySQLCRUDQueryExecutionContext ( this , cnn , transaction ) , query ) ; } catch ( Exception error ) { throw new MySQLDataAccessException ( StringConsts . GET_SCHEMA_ERROR + error . ToMessageWithType ( ) , error , KeyViolationKind . Unspecified , CRUDGenerator . KeyViolationName ( error ) ) ; } }
Performs CRUD load without fetching data only returning schema.
Performs CRUD load without fetching data only returning schema .
cnn
MySqlConnection
transaction
MySqlTransaction
query
Query