Logo aziendale


Cell. +39 335 70 310 78

mail gianluca.pezzoli@gianlucapezzoli.eu

English version Versione italiana del sito

Products \ Miranda

Within MyGeneration it is possible specify different options on a per-column table. These options will then be saved in the project file MyGeneration.

Lazy

Lazy parameter set to True let system not to loadcontent of column by default.
When should serve the value of the field you request with command

Proxy.LoadLazy (NomeTabella.LazyLinkedProperties.NomeCampo.ToString)

BooleanConversion

Allows automatic conversion to and from the DB values that must be seen side as C # Boolean but, DB side, they are not.
If you specify only BooleanConversion = True the default is True = 1 and False = 0.
You can specify other values for True and False. Examples:
True = -1
True = "S"
True = "Y"
False = "Pippo"

Exclude

Exclude=True specify that we don't use the column.

Sequence

Sequence=True The column contains value automatically generated by the DBMS.
You must also specify the table level parameter
KeyGenerator = Name to specify the name of the sequence generator.

Alias

You can change the name of a column inside the entity.
Example: table column name is RagSoc e
Alias = RagioneSociale.

The C# Entity will have a property named RagioneSociale linked to table column RagSoc.

 

<< Back << >> Forward >>

Related resources