阅读背景:

我应该为每个使用的数据库都有一个类吗?

来源:互联网 

First, let me explain what I am doing. I need to take an order, which is split up into different databases, and print out this very large order. What I need from the orders is about 100 or so columns from different databases. The way I was doing in was querying with a join and assigning all of the column values to a variable in my one large Order class. This has started to become troublesome. I am wondering of instead of having one class that is comprised of 100 or so members that make up the order. Should I have just one class for every database I use, and then work with that?First, let me explain what I am doing. I need t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: