hi,
first: newest llblgen.exe, target: entity framework 4.0, vs 2010, windows 7 64, ms sql server 2008 r2.
problem: the following text, generated in the edmx file:
<EntitySetMapping Name="Folder">
<EntityTypeMapping TypeName="IsTypeOf(SmcModel.FolderForUnit)">
<MappingFragment StoreEntitySet="Folder">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="RowId" ColumnName="RowId" />
<ScalarProperty Name="Xcoord" ColumnName="Xcoord" />
<ScalarProperty Name="Ycoord" ColumnName="Ycoord" />
<Condition ColumnName="FolderType" Value="new Guid("0b303abe-66d2-4db9-8363-363682702de7")" />
</MappingFragment>
</EntityTypeMapping>
<EntityTypeMapping TypeName="SmcModel.Folder">
<MappingFragment StoreEntitySet="Folder">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="RowId" ColumnName="RowId" />
<ScalarProperty Name="Xcoord" ColumnName="Xcoord" />
<ScalarProperty Name="Ycoord" ColumnName="Ycoord" />
<Condition ColumnName="FolderType" Value="new Guid("")" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
errors are produced for the both line beginning with: <Condition ColumnName ...
what do ihave to do to avoid these errors. i searched for a detailed documantation on how to define the inheritance in detail. and did not find anything (detailed, with examples).
another problem is, the data type TIMESTAMP. i have one attribute defined as TIMESTAMP. the result in the edmx file is: <Property Name="Timestamp" Type="timestamp" Nullable="false" MaxLength="8" />. this leads to an error too, because attributes of type TIMESTAMP must not define a MaxLength.
thanx in advance for answering fast,
regards
chris