Saturn72.Plugins.EntityFramework - saturn72/Saturn72.Plugins GitHub Wiki
This plugin implements IRepository<>
pattern using entity framework (over sql server) and can be used to perform database interactions.
To use this plugin
-
Copy the plugin output to
<your_application_folder>\Plugins
-
Create
App_Data
folder in your application and createSettings.txt
. Set its Copy to output folder property toCopy always
and add the following lines:DataProvider: sqlserver
DataConnectionString: <connection_string_of your database
** Another option is to copy the settings.txt
file from the plugin repository to <your_app_bin>\App_Data
and replace the connection string
As Saturn72 engine starts its initialization, all plugins are loaded into your application AppDomain
and the and their internals are being used.