Is ulong / UInt64 is supported ?

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
Sesztak
Posts: 172
Joined: Fri Jun 24, 2016 2:19 am

Is ulong / UInt64 is supported ?

Postby Sesztak » Thu Jul 14, 2016 7:09 am

Dear Support,

Is ulong is supported ?
if we use UInt64 or ulong at WCF Server code, the ServiceReference allways generate ulong type (does not matter if it is UInt64 or ulong at WCF service),

And have have got exception, e.g.:
"TypeError: this.DataVersionField.Equals is not a function"

WCF service code part:
public Int64 DataVersion {get; set;} // or public ulong DataVersion {get; set;}

<auto-generated> Reference.cs code part:
public ulong DataVersion {
get {
return this.DataVersionField;
}
set {
if ((this.DataVersionField.Equals(value) != true)) {
this.DataVersionField = value;
this.RaisePropertyChanged("DataVersion");
}
}
}


If we use a normal int or Int64 (long) : so, not an unsigned version !: no problem at all, everything is as expected.

I think your "what is supported" info (http://cshtml5.com/links/what-is-supported.aspx) is not precise enough or there is a bug regarding ulong/UInt64.

Waiting for your kind reply,
Thanks in advance,
Best Regards,
Péter

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 40 guests

 

 

cron