コード例 #1
0
        public void Insert(position position)
        {
            //position.PositionID = NextIdValue();
            //SelectAll().Add(position);

            _ds.Insert(position);
        }
コード例 #2
0
 private void Insert(List <position> positions)
 {
     using (TechCareerFair.DAL.PositionDAL.PositionDatabaseDataService ds = new PositionDAL.PositionDatabaseDataService())
     {
         foreach (position p in positions)
         {
             ds.Insert(p);
         }
     }
 }