Two databases in one DataContext with database relationships

I want to have one common database where tables such as "Users, employees" etc. are located, and a second database where some data is stored (for example, a shopping list in a company), and I want to use users from a common database tables as foreign keys in second database tables.

I want this to be the way to avoid duplicating the Users table in each database that I create for different solutions. Then I have the same list of users for different solutions, and I do not need to update users in each database.

+4
source share

Source: https://habr.com/ru/post/1690425/


All Articles