<#+ 
private string GetConstructor(Entity entity)
{
	string response = "";
	
	if(entity != null)
	{
		foreach(Property property in entity.Properties)
		{
			string propertyType = (property.IsNullable && property.Type.IsValueType) ? "Nullable<" + property.Type.ToString() + ">" : property.Type.ToString();
			response += propertyType + " " + GetVariableName(property.Name, true) + ", ";
		}

		if(response.Length > 0)
		{
			response = response.Substring(0, response.Length -2);
		}
	}
	
	return response;
}

#>