libs-gdl2/Examples/Trading/Trading.eomodeld/Product.plist
ayers a73ec2fc35 * Documentation/GDL2Intro/Examples: Move to ...
* 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
2009-02-18 17:21:05 +00:00

85 lines
No EOL
1.4 KiB
Text

{
attributes = (
{
columnName = GRPID;
externalType = integer;
name = grpid;
prototypeName = integer;
},
{
columnName = NAME;
name = name;
prototypeName = char;
},
{
columnName = PID;
name = pid;
prototypeName = integer;
},
{
allowsNull = Y;
columnName = PRICE;
externalType = decimal;
name = price;
valueClassName = NSDecimalNumber;
},
{
allowsNull = Y;
columnName = SUPID;
externalType = integer;
name = supid;
valueClassName = NSNumber;
}
);
className = EOGenericRecord;
classProperties = (
name,
orderPos,
price,
productGroup,
supplier
);
externalName = TST_PRODUCT;
name = Product;
primaryKeyAttributes = (
pid
);
relationships = (
{
destination = ProductGroup;
isToMany = N;
joinSemantic = EOInnerJoin;
joins = (
{
destinationAttribute = pid;
sourceAttribute = grpid;
}
);
name = productGroup;
},
{
destination = Supplier;
isToMany = N;
joinSemantic = EOInnerJoin;
joins = (
{
destinationAttribute = pid;
sourceAttribute = supid;
}
);
name = supplier;
},
{
destination = OrderPos;
isToMany = Y;
joinSemantic = EOInnerJoin;
joins = (
{
destinationAttribute = prdid;
sourceAttribute = pid;
}
);
name = orderPos;
}
);
}