mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-05-31 09:21:02 +00:00
* 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
This commit is contained in:
parent
398f71dcb7
commit
ca0fb8253e
12 changed files with 752 additions and 1 deletions
91
Documentation/GDL2Intro/Examples/library.eomodel
Normal file
91
Documentation/GDL2Intro/Examples/library.eomodel
Normal file
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue