Discussion:
[Middlegen-user] (no subject)
Ed Ross
2003-06-27 14:55:07 UTC
Permalink
Is there any way to specify different "finders" for some of the tables?
For example, want to find by lastName like 1? and first name like 2?

Thanks

ed
This E-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply E-mail, and destroy all copies
of the original message.
Aslak Hellesøy
2003-06-27 17:03:06 UTC
Permalink
Post by Ed Ross
Is there any way to specify different "finders" for some of the tables?
For example, want to find by lastName like 1? and first name like 2?
Try this: http://boss.bekk.no/boss/middlegen/predicates.html

You might want to add some more predicates to the codebase (and rebuild)
if you want to filter on column name.

HTH,
Aslak
Post by Ed Ross
Thanks
ed
This E-mail message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
E-mail, and destroy all copies of the original message.
Eivind Waaler
2003-06-28 14:45:09 UTC
Permalink
How about using merge files (bottom of page):
http://boss.bekk.no/boss/middlegen/plugins/cmp20.html

I guess you'd use the cmp20-<tablename>-class-comments.txt file for
finders. Look at the cmp20-persons-class-comments.txt in the
samples/src/middlegen dir for example..

=2Eeivind
Post by Aslak Hellesøy
=20
Post by Ed Ross
Is there any way to specify different "finders" for some of the tables?
For example, want to find by lastName like 1? and first name like 2?
Try this: http://boss.bekk.no/boss/middlegen/predicates.html
=20
You might want to add some more predicates to the codebase (and rebuild)=
=20
Post by Aslak Hellesøy
if you want to filter on column name.
=20
HTH,
Aslak
=20
Post by Ed Ross
Thanks
=20
ed
This E-mail message is for the sole use of the intended recipient(s)=20
and may contain confidential and privileged information. Any=20
unauthorized review, use, disclosure or distribution is prohibited. If=
=20
Post by Aslak Hellesøy
Post by Ed Ross
you are not the intended recipient, please contact the sender by reply=
=20
Post by Aslak Hellesøy
Post by Ed Ross
E-mail, and destroy all copies of the original message.
=20
=20
=20
=20
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
=20
Loading...