I want to override a setter of a property in a partial class:
Partial class:
public partial class User
{
public string Name
{
set
{
// Do something
}
}
}
but I have the following error:
The type 'User' already contains a definition for 'Name'
How can I modify the initial setter generated in the DBML file?