Nullable string - string?

What is the difference between these two?

[Column('Name', [], 50)]
FName: Nullable<string>;

[Column('Name', [], 50)]
FName: string;

What is a Nullable string?

This is an Aurelius question, actually. Nulalble<T> is a special type that allows receiving Null values.

https://doc.tmssoftware.com/biz/aurelius/guide/mapping.html#nullable-type

I used DataModeler to setup tables/fields, from a Postgres database, to use in my WebCore app.

They were setup as "Nullable" and that gave an error when running the app. After changing to just "Sting" it runs without error.

I don't remember the error message.

When you remember, please let us know so we can guess what's going on.

1 Like