You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Except that doesn't work, since all UpdatedColumnNames that also exist in KeyPropertyNames are filtered out. Update isn't even needed here, for every entity in the list we would only need:
IF NOT EXISTS(SELECT 1 FROM Users x where x.UserName = 'someUserName')
INSERT INTO Users(UserName) VALUES ('someUserName');
The text was updated successfully, but these errors were encountered:
Would it be possible to implement a method that inserts a new records if it doesn't exist based on a specified key. Essentially something like:
Except that doesn't work, since all UpdatedColumnNames that also exist in KeyPropertyNames are filtered out. Update isn't even needed here, for every entity in the list we would only need:
The text was updated successfully, but these errors were encountered: