コード例 #1
0
        public List <ChangeInfo> GetChanges(string Change_Id)
        {
            ChangeDataContext Cdb = new ChangeDataContext();
            var result            = from c in Cdb.Change
                                    select c;

            return(result.ToList());
        }
コード例 #2
0
        public List <ChangeInfo> GetChange(string StuNo)
        {
            ChangeDataContext Cdb = new ChangeDataContext();
            var result            = from c in Cdb.Change
                                    where c.StuNo.Equals(StuNo)
                                    select c;

            return(result.ToList());
        }