Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> How to determine an EntityFields underlying database info
 

Pages: 1
LLBLGen Pro Runtime Framework
How to determine an EntityFields underlying database info
Page:1/1 

  Print all messages in this thread  
Poster Message
MattWoberts
User



Location:
Lancaster, UK
Joined on:
08-Apr-2004 10:24:31
Posted:
497 posts
# Posted on: 05-Nov-2008 15:10:22.  
Hi all,

Is it possible to get the underlying database info for an entity's fields. We're trying to write some code that will create an ado recordset (ugh!) with the same fields and correct types that are defined for the entity.

So far we've been looking at the collection of fields for an entity using the entity.Fields collection, but that gives us an EntityField2, which doesn't seem to contain any of the
underlying database info, for example the database type and defined size.

Is this possible?

Thanks!
Matt  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14618 posts
# Posted on: 05-Nov-2008 15:39:34.  
In Adapter, the info is not stored in the entityField but rather in FieldPersistenceInfo class.

Please check the following thread to know how to get the FieldPersistenceInfo object of an EntityField2
http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=12530


  Top
MattWoberts
User



Location:
Lancaster, UK
Joined on:
08-Apr-2004 10:24:31
Posted:
497 posts
# Posted on: 05-Nov-2008 16:07:16.  
Thanks for that, thats exactly what we were looking for Regular Smiley
Matt  Top
Pages: 1  


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

Version: 2.1.12172008 Final.