Relacionamento Muitos-para-muitos


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Glad you got it going! Cool

Yeah, the guys are working constantly on more documentation and a Knowledge Base forum. While it is not there yet, count on us all. BigGrin

Malcon M. Mikami
Malcon M. Mikami
StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)
Group: Forum Members
Posts: 60, Visits: 1.3K
Problem solved! The "secret" is the businesslayerlinkmanger. In the SF manuals, and the demo applications have not seen examples, nor references to it.
Some of my doubts as to others who read the forum are correctly using the components and exemplify the situation. I think we could have a forum in the area for more video lessons and examples for download.

Attachments
linkmanager.JPG (118 views, 218.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Malcon, have a look at the BusinessLayerLinkManager.

Here you find a post about it: http://forum.strataframe.net/FindPost6626.aspx

Do a search on the forum and you will find much information on how to use it.

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Keith Chisarik (11/10/2008)
Ivan,

Do you know of a Portugese to English translator, perhaps a website? I read most of the posts on the forums just to have them in the back of my mind when I run into an issue or task. I wish I could read some of your answers

Hey Keith.

Since you read everything to keep on the back of your mind, it could be a lot better not being able to read my posts! BigGrin

Anyway, if you are brave enough, this is also a good site for translations: http://br.babelfish.yahoo.com/

Malcon M. Mikami
Malcon M. Mikami
StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)
Group: Forum Members
Posts: 60, Visits: 1.3K
Hi Trent, thanks for the prompt reply.
I have the following situation:
 
Person (PrimaryBO)
PrimaryKey  Name
1         Malcon
2         Trent
3         Ivan
 
 
PersonProduct(RelationBO)
PersonForeingKey     ProductForengKey
1                           1
1                           2
2                           1
2                           3
2                           4
3                           1
 
 
Product(ChildBO)
PrimaryKey    Details
1                Hard-Disk
2                CPU
3                LCD
4                Case
 
 
When I select a line of Person, it will filter every record in PersonProduct, I would like to automatically filter out all visible record in Products based on PersonProduts
 
My relationship this way:
Person ---(MatchCurrentRow)----PersonProduct ----(CascadeRowFilter)----Product
 
In short, when I filter a Person would like to see all the details of the products this person.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
The MatchCurrent row will only filter out records on the child BO that match the parent relationship.  For example,

Parent BO

PrimaryKeyName
1ABC Vending
2XYZ Autos
3Zenith Auto Sales

Child BO

PrimaryKeyParentForeignKeyOrderTotal
11$15.00
21$20.00
32$40.00
43$10.00

So using the tables above, if the ParentBO is using MatchCurrentRow, and the CurrentRowIndex is on the PK record of "1", then the ChildBO would filter out all records except the records with a PK of 1 and 2 above.

When using CascadeRowFilter, all of the children records that match the visible parent records will be fitlered.  So let's assume that I put a filter like this on my parentBO:

MyParentBO.Filter = "PrimaryKey = 1 OR PrimaryKey = 3"

In this example, the following child records would be visible:

 

PrimaryKeyParentForeignKeyOrderTotal
11$15.00
21$20.00
43$10.00

Malcon M. Mikami
Malcon M. Mikami
StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)StrataFrame Novice (104 reputation)
Group: Forum Members
Posts: 60, Visits: 1.3K
Sorry friends, but my English is weak. In the coming posts I put the translation into English.
 
Ivan, agora não entendi nada. Qual a diferença entre CascadeRowFilter e MatchCurrentRow, você poderia me falar um exemplo prático?

 
Ivan, now do not understand anything. What is the difference between CascadeRowFilter and MatchCurrentRow, you could tell me a practical example?

Dustin Taylor
Dustin Taylor
StrataFrame Team Member (660 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
translate.google.com is what we usually resort to when Ivan isn't around (which, thank the lord, isn't all that often BigGrin)
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Ivan,

Do you know of a Portugese to English translator, perhaps a website? I read most of the posts on the forums just to have them in the back of my mind when I run into an issue or task. I wish I could read some of your answers

Keith Chisarik

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Não, deveria aparecer somente o Produto relacionado ao seu PessoaProduto.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search