Re: [Firebird-net-provider] Code First Error

2013-03-24 Thread Jiri Cincura
On Sun, Mar 24, 2013 at 7:51 PM, Muthu Annamalai wrote: > if you can help me This part looks good. But hard to guess without the whole code. -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com ---

Re: [Firebird-net-provider] Code First Error

2013-03-24 Thread Muthu Annamalai
.Add(new VENDORMap()); } } -Original Message- From: MuthuAnnamalai [mailto:muthuannama...@sbcglobal.net] Sent: Friday, March 22, 2013 6:27 AM To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] Code First Error But the Model is creat

Re: [Firebird-net-provider] Code First Error

2013-03-22 Thread MuthuAnnamalai
But the Model is created by C# Entity Framework Power tool and I checked the Image table mapping class which has mapping for primary key defined... Sent from my iPad On Mar 22, 2013, at 3:07 AM, Jiri Cincura wrote: > On Fri, Mar 22, 2013 at 3:05 AM, Muthu Annamalai > wrote: >> >> System.Data

Re: [Firebird-net-provider] Code First Error

2013-03-22 Thread Jiri Cincura
On Fri, Mar 22, 2013 at 3:05 AM, Muthu Annamalai wrote: > > System.Data.Entity.Edm.EdmEntityType: EntityType ‘Image’ has no key > defined. Define the key for this EntityType. > > System.Data.Entity.Edm.EdmEntitySet: EntityType EntitySet ‘Images is > based on the type ‘Image’ that has no key defin