This question is locked. New answers and comments are not allowed.
Hello.
I have trouble with fluent configuration.
I try define mapping for Version column (byte[] in model, timestamp in DB), but the method HasProperty no overload for the data type byte[]. How should I declare the version?
I have trouble with fluent configuration.
I try define mapping for Version column (byte[] in model, timestamp in DB), but the method HasProperty no overload for the data type byte[]. How should I declare the version?
public
class
User
{
public
string
Name {
get
;
set
; }
public
int
PasswordSalt {
get
;
set
; }
public
string
Email {
get
;
set
; }
public
UserStatus Status {
get
;
set
; }
public
DateTime? LastActivityDate {
get
;
set
; }
public
DateTime RegistrationDate {
get
;
set
; }
public
Guid ActivationKey {
get
;
set
; }
public
Guid ApproveKey {
get
;
set
; }
public
DateTime? ApproveDate {
get
;
set
; }
public
byte
[] Version {
get
;
set
; }
}