Extend linq-to-sql partial class to avoid writing a property?

Posted by Curtis White on Stack Overflow See other posts from Stack Overflow or by Curtis White
Published on 2010-04-07T20:03:16Z Indexed on 2010/04/07 21:03 UTC
Read the original article Hit count: 720

I have a linq-to-sql class. I have a property "Password" for which I want to call the underlying ASP.NET Membership provider. Thus, I do not want this property written out directly but via my own code. I basically want to create a facade/proxy for this property such that I may use the underlying membership provider or a custom stored procedure.

I want to accomplish without modifying the LINQ-TO-SQL designer generated code, if at all possible.

© Stack Overflow or respective owner

Related posts about linq-to-sql

Related posts about partial-classes