Error Message:
Code: Select all
Initialization method Phenobyte.AMSchedulerTest.TestScheduler.SetUp threw exception. System.Data.UpdateException: System.Data.UpdateException: Fehler beim Aktualisieren der Einträge. Weitere Informationen finden Sie in der internen Ausnahme. ---> System.Data.EntityCommandCompilationException: Fehler bei der Vorbereitung der Befehlsdefinition. Weitere Informationen finden Sie in der internen Ausnahme. ---> System.InvalidOperationException: Unexpected type usage: PrimitiveTypeKind 'Time', DatabaseSpecificType: '0'..
Code: Select all
Devart.Common.Entity.ah.c(DbParameterBase A_0, a7 A_1)
Devart.Common.Entity.ah.d(DbParameterBase A_0, a7 A_1)
Devart.Common.Entity.ah.b(DbParameterBase A_0, a7 A_1)
Devart.Common.Entity.ah.a(ab A_0)
Devart.Common.Entity.a7.a(ab A_0)
Devart.Data.CommandTrees.ab.a(bc A_0)
Devart.Common.Entity.az.a(z A_0, DbCommand A_1)
Devart.Common.Entity.x.a(z A_0, DbCommandBase A_1)
Devart.Common.Entity.x.c()
Devart.Data.MySql.Entity.MySqlEntityProviderServices.a(s A_0, DbCommandTree A_1)
Devart.Data.MySql.Entity.MySqlEntityProviderServices.CreateDbCommandDefinition(DbProviderManifest providerManifest, DbCommandTree commandTree)
System.Data.Common.DbProviderServices.CreateCommandDefinition(DbCommandTree commandTree)
System.Data.Common.DbProviderServices.CreateCommand(DbCommandTree commandTree)
System.Data.Mapping.Update.Internal.UpdateTranslator.CreateCommand(DbModificationCommandTree commandTree)
System.Data.Mapping.Update.Internal.UpdateTranslator.CreateCommand(DbModificationCommandTree commandTree)
System.Data.Mapping.Update.Internal.DynamicUpdateCommand.CreateCommand(UpdateTranslator translator, Dictionary`2 identifierValues)
System.Data.Mapping.Update.Internal.DynamicUpdateCommand.Execute(UpdateTranslator translator, EntityConnection connection, Dictionary`2 identifierValues, List`1 generatedValues)
System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager entityCache)
System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options)
Phenobyte.AMSchedulerTest.TestScheduler.ErzeugeTestdaten() in D:\projekte\Anlaufmanagement\src\AMSchedulerTest\TestScheduler.cs: line 177
Phenobyte.AMSchedulerTest.TestScheduler.SetUp() in D:\projekte\Anlaufmanagement\src\AMSchedulerTest\TestScheduler.cs: line 70
Code: Select all
'Id', 'int(11)', 'NO', 'PRI', NULL, 'auto_increment'
'Job_Typ', 'int(11)', 'NO', '', NULL, ''
'Timer_Typ', 'int(11)', 'NO', '', NULL, ''
'Start_Datum', 'date', 'YES', '', NULL, ''
'Start_Uhrzeit', 'time', 'NO', '', NULL, ''
'Letzter_Start', 'datetime', 'YES', '', NULL, ''
'Letztes_Ende', 'datetime', 'YES', '', NULL, ''
'Daten', 'varchar(4000)', 'YES', '', NULL, ''
'Timestamp', 'timestamp', 'NO', '', 'CURRENT_TIMESTAMP', 'on update CURRENT_TIMESTAMP'
Code: Select all
Code: Select all
Jobs jobZyklisch = new Jobs
{
JobTyp = (int)DaGlobal.JobTyp.ExcelImportPgv,
TimerTyp = (int)DaGlobal.TimerTyp.Zyklisch,
StartDatum = DateTime.Now,
StartUhrzeit = new TimeSpan(03, 44, 55),
Timestamp = DateTime.Now
};
_Datenbank.SchreibeJobNeu(jobZyklisch);
Environment:
.Net 3.5
Visual Studio 2010
Devart.Data 5.0.336.0
Devart.Data.MySQL 6.50.237.0
MySQL 5.5