开发者

setting datacontext through Xml instead of DBML file..?

开发者 https://www.devze.com 2023-04-12 19:30 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号