Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am currently creating some tables on a database for an Umbraco project (separate to the Umbraco DB).
I need one of the tables in the external DB to use the nodeId from the [dbo].[cmsMember] table in the Umbraco database.
Usually to add a foreign key I would add something to the model like:
public class Example { public int FKProperty { get; set; } [ForeignKey("FKProperty")] public FKEntity Entity { get; set; } }
Is there a way to follow this same pattern with an Umbraco Member?
Please let me know if this doesn't make sense!
Thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using [dbo].[cmsMember] in Entity Framework
I am currently creating some tables on a database for an Umbraco project (separate to the Umbraco DB).
I need one of the tables in the external DB to use the nodeId from the [dbo].[cmsMember] table in the Umbraco database.
Usually to add a foreign key I would add something to the model like:
Is there a way to follow this same pattern with an Umbraco Member?
Please let me know if this doesn't make sense!
Thanks
is working on a reply...