I plan to save some objects into a database using Entity Framework code first, so I create the classes and generate the database from that.
The files I store are the following:
- An HTML file
- and a .mview file.
These two are exported using Marmoset Viewer. I plan to store them as object type. All I need to do is copy them to folders (and add a new one to the database).
My question is: is this way, going with an object type doable? Or do I have to change something?
The HTML file will be opened using a WebBrowser control. It works, but so far I haven't made the database just yet.
string, if not I'd usebyte[]..mviewas I wrote, I don't have to manage it, just move it somehow. So in case I misunderstood something, in c# code I shall use abyte[]? So not in the data tablesvarbinaryfor the data tableSystem.IO.File.ReadAllBytesshould do it