Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> XML Entity Specification
 

Pages: 1
LLBLGen Pro Runtime Framework
XML Entity Specification
Page:1/1 

  Print all messages in this thread  
Poster Message
BaileyK83
User



Location:

Joined on:
30-Dec-2006 00:25:46
Posted:
29 posts
# Posted on: 27-Mar-2007 22:14:47.  
How would I go about getting an XML Specification for all the Entitys in a project

My guess would be to add some sort of task

Exactly like...

<Entity Class ="ObjectEntity" Table= "obj" >
<Fields>
<field Name="Name" Type="NVarChar" Size="255">
</Fields>
</Entity>
<Entity Class ="PersonEntity" Inherits ="ObjectEntity" Table= "objPerson" >
<Fields>
<field Name="Height" Type="Int" Size="4">
</Fields>
</Entity>

Keep in mind my xml sucks any help would be greatly appreciated
  Top
bclubb
User



Location:
Norman, Oklahoma
Joined on:
12-Feb-2004 22:18:04
Posted:
934 posts
# Posted on: 28-Mar-2007 03:00:50.  
What are you going to use it for? Do the entities need to be defined exactly like this?

  Top
BaileyK83
User



Location:

Joined on:
30-Dec-2006 00:25:46
Posted:
29 posts
# Posted on: 28-Mar-2007 03:03:35.  
I plan on using it to determine the entitys in a particular application.

No they just need to be in some sort of parseable format maybe I could even use the .lgp file.
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14569 posts
# Posted on: 28-Mar-2007 09:35:35.  
You can create your own plugin that would run in the designer.
First you should check the LLBLGen Pro Manual: "Designer -> Working with plug-ins".


  Top
BaileyK83
User



Location:

Joined on:
30-Dec-2006 00:25:46
Posted:
29 posts
# Posted on: 06-Apr-2007 01:44:07.  
I'm just now looking at all of the task/template stuff and It seems like it would make more sense and be easier to use the task/template stuff to accomplish this. Why do you suggest a plugin instead?
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14569 posts
# Posted on: 06-Apr-2007 12:08:27.  
Both can work, it depends on when do you want the output xml file Regular Smiley
If at design time, then a plugin can do, else at code generation time, then the template\task will be the best option.


  Top
Pages: 1  


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

Version: 2.1.12172008 Final.