D
Dave Johnson
Classes:
1-DataRepository Class - Contains (GetClientInfo Method, GetOrderInfo
Method)
2-Client Class
3-Order Class
The DataRepository Class has all the Functions that deals with the
Database such as (Client & Order) database methods.
Required:
make the Client Class have only Access to the GetClientInfo Method
and not also the GetOrderInfo Method and vice versa
How to do it using Interfaces??
can u please show it in a clear code, as i am new to Interfaces
Sharing makes All the Difference
1-DataRepository Class - Contains (GetClientInfo Method, GetOrderInfo
Method)
2-Client Class
3-Order Class
The DataRepository Class has all the Functions that deals with the
Database such as (Client & Order) database methods.
Required:
make the Client Class have only Access to the GetClientInfo Method
and not also the GetOrderInfo Method and vice versa
How to do it using Interfaces??
can u please show it in a clear code, as i am new to Interfaces
Sharing makes All the Difference