Hi Guenni,
The provided code bellow is to demonstrate how to set a link to an external table, it is not a complete solution. So if the UserId field is not defined, you should define it:
| namespace Telerik.DataAccess.AspnetProviders; |
| |
| dbclass Account [TableName="telerik_Account"] { |
| primary key guid AccountId; |
| link User User_lnk: guid UserId; |
| } |
or use another field for the link, e.g. AccountId:
| namespace Telerik.DataAccess.AspnetProviders; |
| |
| dbclass Account [TableName="telerik_Account"] { |
| primary key guid AccountId; |
| link User User_lnk: AccountId; |
| } |
Please have a look at the Nolics.net documentation for more information.
All the best,
Vlad
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.