1

Can anyone help me how to map c# system.guid to oracle varchar2(100). I tried using

Id(m=>m.Id).Column("xxx").GeneratedBy.Guid();

The query generated is without quotes and so failing insert in oracle.

4

1 回答 1

0

有根据的猜测。

Id(m=>m.Id).Column("xxx").Not.Nullable() .CustomSqlType("varchar2(100)").GeneratedBy.Guid();

CustomSqlType 是要考虑的新事物。

于 2013-02-25T22:53:53.830 回答