Entity Framework 4 and SQL Server 2008 R2 Change the capture of data that does not reproduce anything together

When I try to use these two functions together, I get a compilation error on my model (note, I renamed the object for my _CT table "ContentHistory", and my SL4 Unit Test project is called "DomainServices.UnitTest" ":

Error 39 Property 'DomainServices.Web.ContentHistory.C___seqval' is marked as a key
property and is of Type 'System.Byte[]', which is not a supported type for a key member.
DomainServices.UnitTests

Has anyone got CDC and EF4 here to play beautifully together?

+3
source share
1 answer

, , . , , CDC, LastModified datetime. ( EF), LastModified __$operation. , " " ( , , , ). , LastModified 3 , , () 2 CDC LastModified, ; __$operation (a 3 a 4). , . , EF4 . - , , .

0

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


All Articles