Esempio n. 1
0
 public static void GenerateAvenueData(System.Data.SqlClient.SqlDataReader Reader, ref Avenue.Heights.Data.AvenueData Data)
 {
     Avenue.Workflow.Data.IterationTimePeriod tmpData = (Avenue.Workflow.Data.IterationTimePeriod)Data;
     tmpData._IterationTimePeriodID       = (Int32)CheckDBNull(Reader["IterationTimePeriodID"]);
     tmpData.IterationID                  = (Int32)CheckDBNull(Reader["IterationID"]);
     tmpData.IterationTimePeriodStartDate = (DateTime)CheckDBNull(Reader["IterationTimePeriodStartDate"]);
     tmpData.IterationTimePeriodEndDate   = (DateTime)CheckDBNull(Reader["IterationTimePeriodEndDate"]);
 }
Esempio n. 2
0
 public static void GenerateAvenueList(System.Data.SqlClient.SqlDataReader Reader, ref Avenue.Heights.Data.AvenueCollection Collection)
 {
     while (Reader.Read())
     {
         Avenue.Workflow.Data.IterationTimePeriod aIterationTimePeriod = new Avenue.Workflow.Data.IterationTimePeriod();
         Avenue.Heights.Data.AvenueData           aData = (Avenue.Heights.Data.AvenueData)aIterationTimePeriod;
         GenerateAvenueData(Reader, ref aData);
         Collection.Add(aData);
     }
 }