コード例 #1
0
        // These methods are the most important ones for this Controller - it tells the framework how to get to the rows (or columns if you
        // have a column based table).
        // But since this table has an easy comprehensible structure, it is just necessary to ask the framework to get all direct children.
        // The Technical Association 'Children' can be used.
        protected override IEnumerable <IAssociation> ResolveAssociation(RowsBusinessAssociation businessAssociation)
        {
            //yield return new TechnicalAssociation("Children");
            //throw new NotSupportedException();
            //yield return new TechnicalAssociation("All");


            yield return(new AlgorithmicAssociation("Rows"));

            //yield return new TechnicalAssociation("All");
        }
コード例 #2
0
 protected override IEnumerable <IAssociation> ResolveAssociation(RowsBusinessAssociation businessAssociation)
 {
     yield return(new TechnicalAssociation("Children"));
 }