It sounds like you've just started the project and you're already
having issues with loading assemblies not located in /bin. People,
myself included, always get ideas about making sub folders in /bin and
doing some sort of dynamic loading this or that. In the end it causes
more troubles that its worth.

If you have questions about what a class is doing, all the source code
is viewable online:

http://svn.apache.org/repos/asf/ibatis/trunk/

Here is a link to the TypesResolver namespace:

http://tinyurl.com/9wgsy
http://svn.apache.org/repos/asf/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/TypesResolver/

The CachedTypeResolver extends TypeResolver and caches type lookups.

If you're more comfortable with C#, you may want to prototyping the
code in C# then go to Google and enter:

 convert c# to vb.net

then press the "I'm Feeling Lucky" button.

--- Habib Ahmed Qureshi <[EMAIL PROTECTED]> wrote:

> Thank you Ron.
> 
> I am putting all the dlls in /bin folder, but interface and
> implementation
> dlls are different.
> There could be sub folders but not right now. (project is in many
> phases
> which same desktop exe will suffice- like accounts work... Of type 1,
> then
> type 2 process...)
> 
> There is no description for
> CachedTypeResolver on
> http://ibatisnet.sourceforge.net/docs/en/sdkhelp/web/
> And what is difference in TypeResolver and GetType :/
> (I am not VB.Net expert.. I was doing c# earlier)
> 
> -----Original Message-----
> From: Ron Grabowski [mailto:[EMAIL PROTECTED] 
> Sent: 20 September 2005 17:09
> To: [email protected]
> Subject: RE: FW: DataAccess161 DaoManager.GetDao
> 
> Is there a reason why you aren't putting Model.Dao.Interfaces.dll in
> the /bin directory with the other assemblies?
> 
> In addition to TypeResolver, there is also a CachedTypeResolver
> class:
> 
>  http://ibatisnet.sourceforge.net/docs/en/sdkhelp/web/
> 
> You can download additional documentation from the Downloads section
> of
> the iBATIS website:
> 
>  http://ibatis.apache.org/downloads.html
> 
> I found this in a VB.Net project I worked on:
> 
>  m_VehicleDao = _ 
>   DirectCast(m_daoManager(GetType(IVehicleDao)), IVehicleDao)
> 
> Where m_daoManager is a shorter way of writing:
> 
>  IBatisNet.DataAccess.DaoManager.GetInstance()
> 
> --- Habib Ahmed Qureshi <[EMAIL PROTECTED]> wrote:
> 
> > Thanks for the reply.
> > 
> 

Reply via email to