public HanaTestTable(string tableName, HanaProcessor processor, string schemaName, params string[] columnDefinitions) { _schemaName = schemaName; Name = _quoter.UnQuote(tableName); Init(processor, columnDefinitions); }
/// <summary> /// Normalizes the identifier the same way as Firebird /// </summary> /// <param name="identifier">The identifier to normalize</param> /// <returns>The normalized identifier</returns> private string NormalizeIdentifier(string identifier) { var result = _quoter.UnQuote(identifier); if (result != identifier) { return(result); } return(result.ToUpperInvariant()); }
public Db2TestTable(string table, Db2Processor processor, string schema, params string[] columnDefinitions) { Processor = processor; _schema = schema; if (Connection.State != ConnectionState.Open) { Connection.Open(); } Name = _quoter.UnQuote(table); NameWithSchema = _quoter.QuoteTableName(Name, _schema); Create(columnDefinitions); }
public Db2ISeriesTestTable(string table, Db2Processor processor, string schema, params string[] columnDefinitions) { Connection = processor.Connection; Transaction = processor.Transaction; Processor = processor; Factory = new Db2DbFactory(); _schema = schema; if (Connection.State != ConnectionState.Open) { Connection.Open(); } Name = quoter.UnQuote(table); NameWithSchema = quoter.QuoteTableName(Name, _schema); Create(columnDefinitions); }