Interfaces of llblgen Entities

Posts   
 
    
GilShalev2
User
Posts: 2
Joined: 09-Sep-2008
# Posted on: 09-Sep-2008 16:48:55   

Hi,

Is there a way to create the llblgen entities with typed interfacesof our own?

I.E. not the generic IEntity2 or IEntityCollection2, but interfaces that will only expose the

data properties of the object.

The motivation to that question comes from two:

A. We don't want to expose the implementation parts of the entities to their users,

and

B. We would like to simplify the work of the users of these entities in operations like save

update and remove.

We have certain fields like creation / update user and creation / update dates

that exist in every entity, and we would like to have an interface to these fields , that

enables us to update them, using an inner utility, without the explicit need of every user to

update them. If there is a different way to achieve this how do we do it?

Thanks a lot,

Gil Shalev

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 09-Sep-2008 17:48:11   

A. I think the following threads might be useful to you: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=13983

B. You may use our Auditing framework to record..data like CreatedDate, CreatedBy, ModifiedDate, ModifiedBY.....etc. Might also be done in Validation (ValidateEntityBeforeSave)

Some related links: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=13880 http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=9570 http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=8184