Hi,
If I have this
DatabaseConfig = public class
public
property Host:String; required;
property Port:Integer; required;
property Username:String; required;
end;
PostgresDatabaseConfig = public class(DatabaseConfig)
public
property Database:String; required;
property SearchPath:String; required;
end;
Program = class
public
class method Main(args: array of String): Int32;
begin
var config := new PostgresDatabaseConfig( Database:='', SearchPath := '')
end;
end;
Should I get errors about the properties on the base class not being set ?
ConstructorConsoleApplication.zip (148.9 KB)
Cheers,
John