ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giancarlo Valente" <giancarlo.vale...@gmail.com>
Subject Re: Bundle into one DLL files
Date Mon, 30 Oct 2006 08:49:33 GMT
Yes,
you have to specify in visual strudio, "Embedded Resource" in "Build
Action" in the Property page for each file (map.xml,
properties.config,providers.config)

then you can reference each file in this way:

es. providers.config

 <providers embedded="providers.config , mycompany.project.DataAccess"/>

where :
providers.config is the file, in the root of the dll project
mycompany.project.DataAccess is the project default namespace and dll file name.

for more info you should read the online docs :
http://ibatis.apache.org/docs/dotnet/datamapper/ch04s03.html
for each configuration element it is specified if you can use the
"embedded" attribute.


On 10/30/06, Eka Gautama <ekagautama@seatech.com> wrote:
>
>
> Hi all,
>
> Is it possible to bundle all neccessary IBatis files, such as dao.config,
> sqlMap.config, XML files, BO and DAO into one DLL file?

Mime
View raw message