I tried the workaround for views and tables without success.
Message 1 The table/view 'Firebird.Firebird.EMPRESA' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view. C:\VStudio2010\Turnos .NET - Sebastian\Desarrollo 5-4-2012\TurnosDal\TurnosDal\Model1.edmx 0 0 TurnosDal DDL of table Empresa: CREATE TABLE EMPRESA ( RAZONSOCIAL VARCHAR(50), CUIT VARCHAR(50), NOMBRECORTO VARCHAR(10), DIRECCION VARCHAR(50) ); /* Fields descriptions */ COMMENT ON COLUMN EMPRESA.RAZONSOCIAL IS '#PK_GEN#'; For my view Message 2 The table/view 'Firebird.Firebird.V_MAESTRO_TURNOS' does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it. C:\VStudio2010\Turnos .NET - Sebastian\Desarrollo 5-4-2012\TurnosDal\TurnosDal\Model1.edmx 0 0 TurnosDal DDL of View CREATE OR ALTER VIEW V_MAESTRO_TURNOS( CODIGO, FECHA_TURNO) AS Select Codigo, Fecha_Turno From maestro_turnos ; /* View fields descriptions */ COMMENT ON COLUMN V_MAESTRO_TURNOS.CODIGO IS '#PK_GEN#'; I'm using Ado .Net v 2.6.5 Rgds Diego -- View this message in context: http://firebird.1100200.n4.nabble.com/Views-and-Entity-Framework-tp3573550p4535651.html Sent from the firebird-net-provider mailing list archive at Nabble.com. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider