Update in model get error RRS feed

  • Question

  • User-145214277 posted

    Hi Guys i need a help

    I update my model and i get very errors

    add fk and pk

    follow img

    any sugestion

    Tuesday, March 10, 2015 4:00 PM

All replies

  • User1644755831 posted

    Hello ZuilLopes,

    Basically the message says that There must be some mistake in declaring foreign key constraint between the entities Principla.Role.ENTIDADE and Model.ENTIDADE.

    Please check your constraint for the Model.FK_IDENTIDADE.

    Hope this helps.

    With Regards,

    Krunal Parekh

    Wednesday, March 11, 2015 5:31 AM
  • User-145214277 posted

    I got this error:

    Error 2 Error 2019: Member Mapping specified is not valid. The type 'Edm.Int64[Nullable=False,DefaultValue=]' of member 'IDEXERCICIO' in type 'Model.EXERCICIO' is not compatible with 'OracleEFProvider.number[Nullable=False,DefaultValue=,Precision=7,Scale=0]' of member 'IDEXERCICIO' 

    Wednesday, March 11, 2015 2:11 PM