How to set datacontext class through just -
XML file
not as
DBML file
.??
Scenario: Has a DBML file with DataContext defined in it.By Specifying the Connection string am accessing one table to ITable object?
AIM : Instead of this DBML file - can i use some XML file 开发者_StackOverflow中文版file to define the DataContext
Are you refering to using the XMLMappingSource? If so, see http://www.thinqlinq.com/Default/LINQ-to-SQL-support-for-POCO.aspx.
精彩评论