DataAccess

-AssemblyName:string

-db:string

+GetUser():void

+GetDepartment():void

SqlUser

GetUser(id:int):User

Insert(user:User):bool

AccessUser

GetUser(id:int):User

Insert(user:User):bool

SqlDepartment

GetDepartment(deptno:int):User

Insert(department:Department):bool

AccessDepartment

GetDepartment(deptno:int):User

Insert(department:Department):bool

<<interface>>

IUser

GetUser(id:int):User

Insert(user:User):bool

<<interface>>

IDepartment

GetDepartment(deptno:int):User

Insert(department:Department):bool

DatabaseUtil

+Connect():Object

+Free():void

SqlUtil

+Connect():Object

+Free():void

AccessUtil

+Connect():Object

+Free():void

抽象工厂UML

抽象工厂UML

2019-06-23 12:36:00 0 25
这里是评论

相关推荐