Quantcast
Viewing latest article 1
Browse Latest Browse All 29

Comment by mykhailovskyi on How to add field not mapped to table in Linq to Sql

@TheUknown, I can create and I did it in the same namespace in partial class, so I just extended auto generated class. But properties without Column attribute are not mapped and always contain default value of their type even Stored Procedure returns columns with the same name. After adding Column attribute it works fine with SP but not with a normal LINQ query which also try to get values that are not exist in the table.

Viewing latest article 1
Browse Latest Browse All 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>