コード例 #1
0
        public static List<EmployeeLog> GetAllLogtimeByUser(string empid)
        {
            var dal = new EmployeeLogDAL();
            var collection = new List<EmployeeLog>();

            foreach(DataRow row in dal.GetAllLogtimeByUser(empid).Rows){

                var instance = new EmployeeLog();
                instance.Bind(row);
                collection.Add(instance);
            }
            //
            return collection;
        }
コード例 #2
0
        public static List<EmployeeLog> GetAllLogtimeByUser(string empid)
        {
            var dal = new EmployeeLogDAL();
            var collection = new List<EmployeeLog>();

            foreach(DataRow row in dal.GetAllLogtimeByUser(empid).Rows){

                var instance = new EmployeeLog();
                instance.Bind(row);
                collection.Add(instance);
            }
            //
            return collection;
        }