public Repository(XMLContex contex)
        {
            this.contex = contex;

            entities = new Dictionary <int, ModelObject <T> >();
        }
 public FileRepository(XMLContex contex) : base(contex)
 {
 }
 public CommentRepository(XMLContex contex) : base(contex)
 {
 }
        public XMLConnection()
        {
            string path = Path.Combine(HttpRuntime.AppDomainAppPath, "App_Data", "datebase.xml");

            xmlContex = new XMLContex(path);
        }
 public NewsPostRepository(XMLContex contex) : base(contex)
 {
 }
示例#6
0
 public AdminRepository(XMLContex contex) : base(contex)
 {
 }