I have many questions that I need to solve. I am developing to a set of enterprise applications all they will be in Oracle in a single data base and will exist schemes that separate the related tables for example Human Resources, Accounting, etc. to each one of these schemes it will be brief them using To, B, C, D ..... Z, by questions of order in my code I need to separate what generates in different Namespaces thus: MyCorp.A, MyCorp.B, MyCorp.C,….MyCorp.Z, etc.
This it is the scene and I need to know whis is the best one practices, because my data base will grow to 1500 tables approximately, later could become a problem to my person to maintain resemblance amount of elements.
1. Will be good to use different or multiple archives .lgp by each scheme?
2. Each different file will allow me to generate namespaces that I need but when I must communicate two tables or two related entities how do it?
3. I have thought about using WCF as a DALService layer, but this brings more questions to me… Which will be the best option to relate them, if I want to maintain organized my namespaces? I will have code of the following way:
MyCorp.A.ProductEntity p = DalService_A.GetProductByID (3);
EntityCollection< MyCorp.C.Order> or = DalService_C.GetOrdersByProduct (p);
this is correct? Is it a good practice?
4. The DALService layers must among them know themselves? Could I do this?
MyCorp.A.ProductEntity p = DALService_B.GetProducByID (4);
Remember that I have the same ProductEntity organization but in differents Namespaces (different .lgp files)
5. How do yousuggest to me to create the structure of a so great project?