예제 #1
0
파일: Status.cs 프로젝트: deomca/AdsWeb
        public static IList <Status> FindAll()
        {
            IList <Status> sts     = new List <Status>();
            IStatusPersist persist = new StatusPersist();

            return(sts = persist.FindAll());
        }
예제 #2
0
파일: Status.cs 프로젝트: deomca/AdsWeb
        public void Load(int StatusId)
        {
            IStatusPersist persist = new StatusPersist();

            this.Id = StatusId;
            persist.Load(this);
        }
예제 #3
0
파일: Status.cs 프로젝트: deomca/AdsWeb
        public void Delete(int StatusId)
        {
            IStatusPersist persist = new StatusPersist();

            this.Id = StatusId;
            persist.Delete(this);
        }
예제 #4
0
파일: Status.cs 프로젝트: deomca/AdsWeb
        public void Save()
        {
            IStatusPersist persist = new StatusPersist();

            persist.Save(this);
        }