K
Kevin C
I have 3 assemblies:
A. Business Entities
B. Business Logic
C. Data Access
In order to not have circular reference back to my business entities library
I was creating an API that accepted each data field instead of an object.
How is this percieved in the developer community? Referencing back to the
business entity assembly seems like a dependency that does really need to be
there.
Example:
public int InsertSomething( int someKey, int someNum, string comment, int
shipMethodCd, int shipLocNum, int reasonCd, int cartonCount, string
trackerNum, int recvLocNum, DateTime modifiedDt, string modifiedUser) {
}
A. Business Entities
B. Business Logic
C. Data Access
In order to not have circular reference back to my business entities library
I was creating an API that accepted each data field instead of an object.
How is this percieved in the developer community? Referencing back to the
business entity assembly seems like a dependency that does really need to be
there.
Example:
public int InsertSomething( int someKey, int someNum, string comment, int
shipMethodCd, int shipLocNum, int reasonCd, int cartonCount, string
trackerNum, int recvLocNum, DateTime modifiedDt, string modifiedUser) {
}