[Table.Name("B")]
public class B
{
[Column.Size(100)]
public string Class { get; set; }
[Relation.OneToOne(LocalKey ="Id", ForeignKey ="Id")]
public Drawing Drawing { get; set; }
}
[Table.Name("A")]
public class A
{
[Column.PrimaryKey(AutoIncrement = false)]
public Guid Id;
[Column.Size(100)]
public string MainNumber;
}
This throws Iridium.DB.SchemaException: 'Could not create relation B.A', they both share the same name and value for the uniqueidentifier (primary key)
This throws Iridium.DB.SchemaException: 'Could not create relation B.A', they both share the same name and value for the uniqueidentifier (primary key)