vita icon indicating copy to clipboard operation
vita copied to clipboard

Version 3.5 pushed.

Open rivantsov opened this issue 3 years ago • 9 comments

Details will follow. Sorry it took so long. Big internal refactoring of model building, new Key building process (PK, FK, indexes) Moved apps, tests to Net6

Details here: https://github.com/rivantsov/vita/wiki/Code-changes-history

rivantsov avatar Dec 16 '22 08:12 rivantsov

Hello,

I have updated to 3.5. and my model does not Build, is there any breaking changes?

rubenalves avatar Dec 17 '22 16:12 rubenalves

sorry to hear this, lets fix it. There are no breaking changes, everything should be compatible, all changes are internal. What's the error messages? The easiest and quickest way would be if you can (if possible) send me the SQL script of database (without data) to rivantsov AT gmail dot com, so I can debug the model build phase. I promise non-disclosure and keep it to myself

rivantsov avatar Dec 17 '22 16:12 rivantsov

The problem is there are no eror messages, only that the model does not Build. I will try again and se if i can see a error on the debugger

rubenalves avatar Dec 17 '22 16:12 rubenalves

the exception StartupFailedExc should have list of errors inside

rivantsov avatar Dec 17 '22 16:12 rivantsov

O got this error: Initializing EntityApp TsGest 2023.==================================== Building entity model... AuditMensagem.ID: Index/key attribute (Vita.Entities.PrimaryKeyAttribute) on member should not have explicit member list.

rubenalves avatar Dec 17 '22 16:12 rubenalves

so can you pls share the c# source of this property ID of AuditMensagem entity, with its attributes?

rivantsov avatar Dec 17 '22 16:12 rivantsov

Looks like you just need to remove arguments in Primarykey attribute on this property; the property itself (ID) is the column that is PK Or, if the PK is composite, with multiple columns, move it to the Entity

rivantsov avatar Dec 17 '22 18:12 rivantsov

It hade atributes and thar entity is not needed any more, so it is runing fine now. Thanks.

rubenalves avatar Dec 18 '22 01:12 rubenalves

More stuff in 3.5 - packed vitaDbTool into a tool nuget package; see more in code changes history

rivantsov avatar Dec 18 '22 18:12 rivantsov