コード例 #1
0
ファイル: DbITProvider.cs プロジェクト: rpetro79/Tier3
        public ITProvider toITProvider(DbContactInfo ci, List <DbTechnologies> techs)
        {
            List <string> technologies = new List <string>();

            foreach (DbTechnologies t in techs)
            {
                technologies.Add(t.Technology);
            }
            return(new ITProvider(Username, Name, Description, Review, NoOfReviews, technologies, Type, ci.toContactInfo()));
        }
コード例 #2
0
ファイル: DbCustomer.cs プロジェクト: rpetro79/Tier3
 public Customer toCustomer(DbContactInfo ci)
 {
     return(new Customer(Username, Name, Description, ci.toContactInfo()));
 }