Does anyone know how to “scaffold” or “generate” a constructor block for all properties of objects? I have VS2010 with Resharper and I want to create something like:
public Customer CustomerB = new Customer
{
firstName = "",
middleName = "",
lastName = "",
additionalPhone = "0",
address1 = "",
address2 = "",
birthDate = new DateTime(),
cellPhone = "",
city = "",
driverLicenseNumber = "",
driverLicenseState = "",
emailAddress = "",
country = "",
fax = "",
grossIncome = 0,
education = null,
leadRequest = null
};
Where can I then double back and fill in the blanks, so to speak. All I found are the properties of the DatabaseFirst and Getter / Setters properties ...
source
share