LINQtoSQL Custom Constructor off Partial Class?
- by sah302
Hi all,
I read this question here:
http://stackoverflow.com/questions/82409/is-there-a-way-to-override-the-empty-constructor-in-a-class-generated-by-linqtosq
Typically my constructor would look like:
public User(String username, String password, String email, DateTime birthday, Char gender)
{
this.Id = Guid.NewGuid();
…