This will not work if you do not have access to a database.
- For MySQL servers, you must have the Server Name, Database Name, Username, and Password.
- For SQL servers, you must have a ready-made connection string.
Currently, most error-checking has been added, but SSL support is not yet implemented.
- English (KJV)
- Simplified Chinese
- Traditional Chinese
- MySQL
- SQL Server 2008-2014
##Adding New Languages##
Fortunately, adding new languages has been made easier.
- Simply implement the
IFlatFile
interface and do what's necessary to load the appropriate values into theBibleCollection
object, then insert the collection into theFullCollection
object named inMemoryStorage.cs
.
- Check
EnglishKjv.cs
,ChineseSimplified.cs
, andChineseTraditional.cs
for examples. - Note that, for non-ASCII languages, you may need to use/convert to the appropriate encoding: if the values show up as
???
while watching variables in the debugger, your encoding is not correct. This means it won't insert correctly, and you'll end up with question marks in the database.
- Edit
QueryLanguage.cs
and update theEnum
to support your new language. For example:, Russian = 3
The program will take care of the rest for you and insert everything. - Run program.