Entity Framework replaced LINQ to SQL years ago - it’s had multiple major revisions, and two major revs of the .NET Core version.
The initial version in 2008 was a total mess. It wasn’t until a few years later that the XML definition and code generation junk was removed and it became useable.