The SIF® Zone
creating, assimilating, and promoting excellence in SIF® agent development

GetScheduleInfos() of ScheduleInfo class seems to be dprecated or removed.

rated by 0 users
This post has 2 Replies | 2 Followers

Top 50 Contributor
Posts 4
Points 60
sraveendran Posted: 06-16-2009 11:38

I have a code line which is part of generating the SIF object for "SHEDULEINFO" type.

Edustructures.SifWorks.Student.ScheduleInfo[] schedInfos = sectInfo.GetScheduleInfos();

I am trying to migrate the 1.5 to 2.2 specification. But since the above GetScheduleInfos(); is missing and could not able to find a documentation for the same to which alternate class I need to use, so I am stuck.

My code is broken becuase of these changes...

If some one confirm the line above in 1.5r ADK is equivalent for 2.0 as show one in below,

 

Edustructures.SifWorks.Student.

ScheduleInfoList schedInfosList = sectInfo.ScheduleInfoList;

Top 10 Contributor
Posts 48
Points 1,210

Sraveendran,

sectInfo.ScheduleInfoList is the correct property to access to obtain the SectionInfo/ScheduleInfoList from the object. It's been moved from a standard method call to an actual .NET property.

Good Work!

Cheers,

Jared

  • | Post Points: 25
Top 50 Contributor
Posts 4
Points 60

Thanks, I have more question ,

StudentAddress element is no more present in the SIF_Message xsd.

SO I guess this need to be updated in mapping file to reflect the new elemenet name. Could u point me out similar changes with 2.2 SIF specification which will affect or need modification of sif configureation or mapping file ?

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright ©2006-2009 sifzone.com
Sponsored by Edustructures
We Connect the Systems that Power Education
 
SIF and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.