Hi,
> Bool is mapped to smallint.
Created new domain
CREATE DOMAIN T_BOOL2 AS SMALLINT NOT NULL CHECK (value in (0,1));
and column SYMMETRIC T_BOOL2
And again have error:
Member Mapping specified is not valid. The type 
'Edm.Boolean[Nullable=False,DefaultValue=]' of member 'SYMMETRIC' in type 
'Prowork.Dal.ASSEMBLY' is not compatible with 
'FirebirdClient.smallint[Nullable=False,DefaultValue=]' of member 
'SYMMETRIC' in type 'Prowork.Dal.Store.ASSEMBLY'

Below you can see piece of edmx. Maybe it helps to find problem
<!-- SSDL content -->

<EntityType Name="ASSEMBLY">

<Key>

<PropertyRef Name="IDASSEMBLY" />

</Key>

<Property Name="IDASSEMBLY" Type="int" Nullable="false" />

<Property Name="NAME" Type="varchar" Nullable="false" MaxLength="50" />

<Property Name="DESCRIPTION" Type="varchar" MaxLength="512" />

<Property Name="SYMMETRIC" Type="smallint" Nullable="false"/>

</EntityType>



<!-- CSDL content -->

<EntityType Name="ASSEMBLY">

<Key>

<PropertyRef Name="IDASSEMBLY" />

</Key>

<Property Name="IDASSEMBLY" Type="Int32" Nullable="false" />

<Property Name="Name" Type="String" Nullable="false" MaxLength="50" 
Unicode="true" FixedLength="false" />

<Property Name="DESCRIPTION" Type="String" MaxLength="512" Unicode="true" 
FixedLength="false" />

<Property Name="SYMMETRIC" Type="Boolean" Nullable="false" />

</EntityType>




------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to