Generating interfaces for entity classes

Posts   
 
    
reh
User
Posts: 5
Joined: 18-Mar-2005
# Posted on: 31-Mar-2005 11:43:25   

Hi

We saw the following unanswered thread about custom interfaces: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=1900

We have a client/server architecture built on remoting. Now it would be very useful if we have only interfaces of the entity classes on the client.

Are there any plans to implement generation of interfaces?

Regards Renato

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39750
Joined: 17-Aug-2003
# Posted on: 31-Mar-2005 12:27:06   

You need the entity classes on the client. This is because if you send an entity to the server, it gets serialized and can't be re-instantiated into another class, even if that class implements the proper interface because you likely miss essential info like sync information between related entities in the graph.

Frans Bouma | Lead developer LLBLGen Pro