Hi,
I have a file entity and that's a super type of an image entity.
tbl_file
FileID int pk
FileName varchar
tbl_player_skin_image_value
PlayerID int pk
ImageID int pk
FileID int pk fk
I set the image table be a sub-type of file and the geenrated code is giving the following error.....
No overload for method 'FileEntity' takes '3' arguments
No overload for method 'FileEntity' takes '4' arguments
Rather strangely, the image entity has two constructors that are trying to pass integers to the file entity.
public PlayerSkinImageValueEntity(System.Int32 playerId, System.Int32 imageId, System.Int32 fileId):base(playerId, imageId, fileId)
{
SetName("PlayerSkinImageValueEntity");
}
public PlayerSkinImageValueEntity(System.Int32 playerId, System.Int32 imageId, System.Int32 fileId, IValidator validator):base(playerId, imageId, fileId, validator)
{
SetName("PlayerSkinImageValueEntity");
}
Any ideas? Cheers, Ian.