General information
Category:
The Mere Mortals .NET Framework
Hi Dan
To use SQL Everywhere with your MM business objects you will need to create a new data access class that uses the Sql.Ce namespace and associate data access classes (ie SqlCeDataAdapter, SqlCeConnection etc) and associate your new SqlEvDataAccess class with your business objects by overriding the CreateDataAccess() method returning your new SqlEvDataAccess class instead of the Sql Server DAO which is used by default.
Creating a SqlEv sounds a bit daunting but it isn't really. It is really just a matter of overriding a few mthods and using the appropriate Sql Ev(Ce) classes instead. Check out the code for the existing DAO (sql server, Ole Db, Vista etc) they are great source of documentation on what needs to be done.
If you get stuck and are really nice to Kevin he might help you out a little.
HTH
Let me know if you would like anymore info on creating your Sql Ev DAO.
Darren
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only