Exemplo n.º 1
0
 public static int createApply(int userid,String username,DateTime starttime,DateTime endtime,int typeid,String reason,String dept,String fileurl,Decimal daySpan,int hourSpan,ref String tel)
 {
     using (DataClassesEduDataContext dc = new DataClassesEduDataContext())
     {
        int state =  dc.CreateAttendanceRecord(userid, username, starttime, endtime, typeid, reason, dept,fileurl,daySpan,hourSpan,ref tel);
         return state;
     }
 }