Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Searching by Index
 

Pages: 1
LLBLGen Pro Runtime Framework
Searching by Index
Page:1/1 

  Print all messages in this thread  
Poster Message
TonyLacey
User



Location:
Albany, NY
Joined on:
11-Mar-2008 15:45:59
Posted:
15 posts
# Posted on: 11-Mar-2008 15:51:05.  
Sorry if this has already been covered.

I'm coming from NetTiers and I'm used to having a "fetch" for each of my different indexes.

For example,

Table Customer
cID,    (primary Key)
cName,
cLogin, (Unique Index)
cPassword

In Nettiers it would generate a constructor for Customer with cLogin as a parameter.

The only way I have found to do this in LLBLGen is add a unique constraint... then use FetchBy...

I've just started using LLBLGen and so far I really like it. Thank you very much!

Tony


  Top
TonyLacey
User



Location:
Albany, NY
Joined on:
11-Mar-2008 15:45:59
Posted:
15 posts
# Posted on: 11-Mar-2008 16:28:18.  
I think I figured it out. I had to change the index type in MSSQL from Index to Unique Key.

Thanks,
Tony




  Top
Pages: 1  


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

Version: 2.1.12172008 Final.