Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> Feature Request - Custom Entity Interfaces
 

Pages: 1
Designer
Feature Request - Custom Entity Interfaces
Page:1/1 

  Print all messages in this thread  
Poster Message
Marcus
User



Location:
Dublin, Ireland
Joined on:
23-Apr-2004 11:49:41
Posted:
747 posts
# Posted on: 10-Dec-2004 11:07:03.  
I know, I know!!!! 2 feature request in the same hour!!! Laugh

But this one is really more of a discussion point rather than a request Wink

I would like to be able to design some custom entity interfaces within the Desginer. Let me give you an example:

I have several tables that have some common fields:

Code:
CreatedBy
CreatedDate
IsActive


Now before the normalisation police arrest me, I don't want to put these fields in their own table for practicality reasons (performance etc)... So I end up with generated Enitities each of which have these common properties.

I would like to be able to create a custom interface in the designer and tag tables which implement this interface. The following interface would be generate and chosen Entities would implement it:

Code:
        public interface IMyCommonFields
        {
            int CreatedByID { get; set; }
            DateTime CreatedDate { get; set; }
            bool IsActive { get; set; }
        }


This would allow me to pass selected Entities around and access their common fields more elegantly...

What do you think?

Marcus
Blog: http://www.styledesign.biz/weblogs/macinnesm/
Website http://pix.ie
 
Top
Mountain
User



Location:
Florida
Joined on:
01-Apr-2005 05:05:51
Posted:
21 posts
# Posted on: 06-Apr-2005 16:32:24.  
I would also like to have a feature like this.

  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
38084 posts
# Posted on: 06-Apr-2005 16:53:18.  
I'll add it to the todo list to be considered as a future enhancement.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Rogelio
User



Location:
Panama, Panama
Joined on:
29-Mar-2005 02:57:36
Posted:
221 posts
# Posted on: 07-Apr-2005 13:00:24.  
Hi,

I will love this feature.


  Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 21-Apr-2005 06:39:49.  
i 3rd taht Wink
  Top
Marcus
User



Location:
Dublin, Ireland
Joined on:
23-Apr-2004 11:49:41
Posted:
747 posts
# Posted on: 21-Apr-2005 09:46:04.  
Laugh
Oh dear Frans... now your gonna have to implement it!!! Wink


Blog: http://www.styledesign.biz/weblogs/macinnesm/
Website http://pix.ie
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
38084 posts
# Posted on: 21-Apr-2005 12:34:08.  
Well, 'somewhere in the future'. At the moment I'm near madness over wdsl.exe which produces garbage because it thinks any type other than dataset must still be a dataset and I can't produce a schema which tells the darn wdsl crappy to take a hike and use the type specified...
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.