libs-gdl2/Documentation/GDL2Intro/Examples/library.eomodel
Matt Rice fb61a0883c * GNUmakefile.in: Add Documentation subproject.
* Documentation: New Directory.
        * Documentation/GDL2Intro: Ditto.
        * Documentation/GDL2Intro/Examples: Ditto.
        * Documentation/GDL2Intro/GDL2Intro.texi: New file.
        * Documentation/GDL2Intro/GNUmakefile: Ditto.
        * Documentation/GDL2Intro/Examples/GNUmakefile: Ditto.
        * Documentation/GDL2Intro/Examples/example.GNUmakefile: Ditto.
        * Documentation/GDL2Intro/Examples/GNUMakefile.connection: Ditto.
        * Documentation/GDL2Intro/Examples/GNUmakefile.eoexample: Ditto.
        * Documentation/GDL2Intro/Examples/eoexample.m: Ditto
        * Documentation/GDL2Intro/Examples/connection.m: Ditto.
        * Documentation/GDL2Intro/Examples/library.eomodel: Ditto.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24306 72102866-910b-0410-8b05-ffd578937521
2007-01-03 05:41:16 +00:00

91 lines
No EOL
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;
}