mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-06-01 17:52:14 +00:00
91 lines
1.6 KiB
Text
91 lines
1.6 KiB
Text
|
{
|
||
|
EOModelVersion = 2;
|
||
|
adaptorName = SQLite3;
|
||
|
entities = (
|
||
|
{
|
||
|
attributes = (
|
||
|
{
|
||
|
columnName = authorID;
|
||
|
externalType = integer;
|
||
|
name = authorID;
|
||
|
valueClassName = NSNumber;
|
||
|
},
|
||
|
{
|
||
|
columnName = name;
|
||
|
externalType = varchar;
|
||
|
name = name;
|
||
|
valueClassName = NSString;
|
||
|
}
|
||
|
);
|
||
|
className = EOGenericRecord;
|
||
|
classProperties = (
|
||
|
name
|
||
|
);
|
||
|
externalName = authors;
|
||
|
name = authors;
|
||
|
primaryKeyAttributes = (
|
||
|
authorID
|
||
|
);
|
||
|
relationships = (
|
||
|
{
|
||
|
destination = books;
|
||
|
isToMany = Y;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = authorID;
|
||
|
sourceAttribute = authorID;
|
||
|
}
|
||
|
);
|
||
|
name = toBooks;
|
||
|
}
|
||
|
);
|
||
|
},
|
||
|
{
|
||
|
attributes = (
|
||
|
{
|
||
|
columnName = authorID;
|
||
|
externalType = integer;
|
||
|
name = authorID;
|
||
|
valueClassName = NSNumber;
|
||
|
},
|
||
|
{
|
||
|
columnName = bookID;
|
||
|
externalType = integer;
|
||
|
name = bookID;
|
||
|
valueClassName = NSNumber;
|
||
|
},
|
||
|
{
|
||
|
columnName = title;
|
||
|
externalType = varchar;
|
||
|
name = title;
|
||
|
valueClassName = NSString;
|
||
|
}
|
||
|
);
|
||
|
className = EOGenericRecord;
|
||
|
classProperties = (
|
||
|
title
|
||
|
);
|
||
|
externalName = books;
|
||
|
name = books;
|
||
|
primaryKeyAttributes = (
|
||
|
bookID
|
||
|
);
|
||
|
relationships = (
|
||
|
{
|
||
|
destination = authors;
|
||
|
isToMany = N;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = authorID;
|
||
|
sourceAttribute = authorID;
|
||
|
}
|
||
|
);
|
||
|
name = toAuthor;
|
||
|
}
|
||
|
);
|
||
|
}
|
||
|
);
|
||
|
name = library;
|
||
|
}
|