Skip to content

This code is designed for a generic model to assign XML values and pass them to a Database Server. In a previous project, I faced a comparable situation where I had to read, validate, and modify XML data prior to executing database migrations with the object that encapsulated the values.

Notifications You must be signed in to change notification settings

artonh/Generic-model-to-migrate-XML-data-into-SQLServer-

Repository files navigation

Generic-model-to-assign-XML

It's a piece of code for the generic model to assign XML values and passing them to DatabaseServer!

I had a similar scenario (in one of my projects), reading the XML data and checking and manipulating before running the migrations to the Database Server with the object that contians these values!

Suppose that: *1 you have more columns on that file than you actually need --- reffer to: arrProperty2Check *2 you are itterating in that file, each rows then each columns and you have to assign values to the dictionary --- arrPropertyCommingFromAnotherSource

*** In this way you have passed the way around to itterate in XML rows and columns, assigning values each of strings above and finally writing the hardcoded object as key pair to pass at the Insert statment of any Database wrapper you're using! ***

About

This code is designed for a generic model to assign XML values and pass them to a Database Server. In a previous project, I faced a comparable situation where I had to read, validate, and modify XML data prior to executing database migrations with the object that encapsulated the values.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages