mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 09:40:59 +00:00
* Examples: ... here. * Examples/GNUmakefile: Adapt to new location. * Documentation/GDL2Intro/GNUmakefile: Remove subproject. * Documentation/GDL2Intro/GDL2Intro.texi: Update references to new location. * Trading: Move to ... * Examples/Trading: ... here. * Examples/Trading/GNUmakefile: Adapte to new location. * Examples/GNUmakefile: Add Trading. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27918 72102866-910b-0410-8b05-ffd578937521
96 lines
1.7 KiB
Text
96 lines
1.7 KiB
Text
{
|
|
EOModelVersion = 2;
|
|
adaptorName = SQLite3;
|
|
connectionDictionary = {
|
|
databasePath = "/tmp/example.db";
|
|
};
|
|
entities = (
|
|
{
|
|
attributes = (
|
|
{
|
|
columnName = authorID;
|
|
externalType = integer;
|
|
name = authorID;
|
|
valueClassName = NSNumber;
|
|
},
|
|
{
|
|
columnName = name;
|
|
externalType = varchar;
|
|
name = name;
|
|
valueClassName = NSString;
|
|
}
|
|
);
|
|
className = EOGenericRecord;
|
|
classProperties = (
|
|
name,
|
|
toBooks
|
|
);
|
|
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,
|
|
toAuthor
|
|
);
|
|
externalName = books;
|
|
name = books;
|
|
primaryKeyAttributes = (
|
|
bookID
|
|
);
|
|
relationships = (
|
|
{
|
|
destination = authors;
|
|
isToMany = N;
|
|
joinSemantic = EOInnerJoin;
|
|
joins = (
|
|
{
|
|
destinationAttribute = authorID;
|
|
sourceAttribute = authorID;
|
|
}
|
|
);
|
|
name = toAuthor;
|
|
}
|
|
);
|
|
}
|
|
);
|
|
name = library;
|
|
}
|