Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. <EntityType Name="MyEntity">
  2. <Key>
  3. <PropertyRef Name="Id" />
  4. </Key>
  5. <Property Name="Id" Type="uniqueidentifier" Nullable="false" />
  6. <Property Name="Address" Type="varchar" Nullable="false" MaxLength="450" />
  7. <Property Name="Login" Type="varchar" MaxLength="256" />
  8. <Property Name="Password" Type="varchar" />
  9. <Property Name="Value" Type="real" />
  10. <Property Name="IsActive" Type="integer" Nullable="false" />
  11. <Property Name="Status" Type="integer" Nullable="false" />
  12. </EntityType>
  13.  
  14. <EntityType Name="MyEntity">
  15. <Key>
  16. <PropertyRef Name="Id" />
  17. </Key>
  18. <Property Type="Guid" Name="Id" Nullable="false" />
  19. <Property Type="String" Name="Address" Nullable="false" MaxLength="450" FixedLength="false" Unicode="true" />
  20. <Property Type="String" Name="Login" MaxLength="256" FixedLength="false" Unicode="true" />
  21. <Property Type="String" Name="Password" MaxLength="Max" FixedLength="false" Unicode="true" />
  22. <Property Type="Double" Name="Value" />
  23. <Property Type="Boolean" Name="IsActive" Nullable="false" />
  24. <Property Type="Int32" Name="Status" Nullable="false" />
  25. </EntityType>
  26.  
  27. MyModel.SQLite.msl(8,12) : error 2019: Member Mapping specified is not valid. The type 'Edm.Boolean[Nullable=False,DefaultValue=]' of member 'IsActive' in type 'MyModel.MyEntity' is not compatible with 'SQLite.integer[Nullable=False,DefaultValue=]' of member 'IsActive' in type 'MyModel.Store.MyEntity'.
  28. MyModel.SQLite.msl(20,12) : error 2019: Member Mapping specified is not valid. The type 'Edm.Double[Nullable=True,DefaultValue=]' of member 'Value' in type 'MyModel.MyEntity' is not compatible with 'SQLite.real[Nullable=True,DefaultValue=]' of member 'Value' in type 'MyModel.Store.MyEntity'.
  29.  
  30. MyModel.SQLite.ssdl(26,6) : error 0040: The Type boolean is not qualified with a namespace or alias. Only primitive types can be used without qualification.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement