If you generate a model from an imported lightswitch application, and attempt to add a new association property to an existing entity, the database update will fail due to mismatched datatypes.
Specifically this happens because the lightswitch IDENTITY PK is INT and the script generated by Cuba Studio will attempt to create a FK with the datatype of BIGINT.