C# Type for timestamp
Posted: Thu 20 Jun 2013 06:09
I got a column in my table that is type "timestamp" when I create a mapping via EntityDeveloper, the type is Binary[] for my C# class. But what I want is type "BinaryBlob".
Is there a possibility to set up a default type "conversion", that timestamp always is BinaryBlob?
eg.: automatic mapping creation:
i want:
Thank you!
Gabriele
Is there a possibility to set up a default type "conversion", that timestamp always is BinaryBlob?
eg.: automatic mapping creation:
Code: Select all
<version name="Recordversion" type="Byte[]">
<column name="recordversion" not-null="true" sql-type="timestamp" />
</version>
Code: Select all
<version name="RecordVersion" type="BinaryBlob" generated="always">
<column name="recordversion" sql-type="timestamp"/>
</version>
Gabriele