比如说,定义一个非静态 DataBase 类,里面有 Product_Table Product_View Product_Insert Product_Update Product_Delete Client_* *_* 等诸多项。
想整理成目录结构一般,如
别看语法
DataBase
 |- Product
 |   |- Table
 |   |- View
 |   |- Insert
 |   |  Update
 |   `- Delete
 |- Client
 |   |- Table
 |   |- View
 |   |- Insert
 |   |- Update
 |   `- Delete
    ...访问时,比如有
DataBase Db;
只要如 Db.Product.Delete(row) 般便可。