ASPX page for CRUD on related classes to store data in XML file RRS feed

  • Question

  • User1064403333 posted

    Say I have four classes: A, B, C, and D as follows:

    public class A
            public int IdA;
            public string NameA;
            public List<B> Bs;
            public A() {}
    public class B
            public int IdB;
            public string NameB;
            public List<C> Cs;
            public B() {}
    public class C
            public int IdC;
            public string NameC;
            public List<D> Ds;
            public C() {}
    public class D
            public int IdD;
            public string NameD;
            public D() {}

    One record in A can have one or many B records.
    Each record in B can have one or many C records.
    Each record in C can have one or many D records.

    I need to store all data into a single XML file, not a database.

    I am trying to figure out how I would design and develop a single ASPX page for the site Administrator to be able to do Create, Read, Update, and Delete (CRUD) operations on the above classes.

    Any ideas?

    Tuesday, March 1, 2016 12:14 AM


All replies