StrangerData icon indicating copy to clipboard operation
StrangerData copied to clipboard

Problemas com .CreateOne()

Open fexdelux opened this issue 9 years ago • 0 comments

Estou com um problema onde estou chamando o metodo .CreateOne() esta me retornando o seguinte Exception:

Incorrect syntax near ')'.

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at StrangerData.SqlServer.SqlServerDialect.Insert(String tableName, IEnumerable1 tableSchemaInfo, IDictionary2 values) at StrangerData.DataFactory1.InsertValuesInDatabase(String tableName, IEnumerable1 tableSchemaInfo, IDictionary2 values) at StrangerData.DataFactory1.GenerateRandomValues(String tableName, IEnumerable1 tableSchemaInfo, Boolean& fromDatabase, Int32 depth) at StrangerData.DataFactory1.GenerateRandomValues(String tableName, IEnumerable1 tableSchemaInfo, Boolean& fromDatabase, Int32 depth) at StrangerData.DataFactory1.CreateOne(String tableName, Action1 customDefinitions)

fexdelux avatar Aug 03 '16 18:08 fexdelux