Find Jobs
Hire Freelancers

small c# helper class for storing/streaming files to SQL Compact Edition (CE) database

$30-100 USD

In Progress
Posted about 15 years ago

$30-100 USD

Paid on delivery
We need a C# helper class for SQL compact edition and a specialized table for storing files in a DB: In particular the table needs to have the following fields: long id; (auto incremented) Blob (Image) File; string FileName; DateTime timeStamp; (should be set automatically at insertion with the current Time). The tricky part is that we need support for STREAMING files in and out of the DB. There is some help available on the internet for this... The following article can be useful: [login to view URL] In particular [login to view URL] should be used. ## Deliverables We need a C# helper class for SQL compact edition and a specialized table for storing files in a DB: In particular the table needs to have the following fields: long id; (auto incremented) Blob (Image) File; string FileName; DateTime timeStamp; (should be set automatically at insertion with the current Time). The helper class needs to expose the following methods. -method to create the table -Stream GetFileStream(long id); -long InsertFile(Stream fileContents,string name); returns the id (use select @@Identity); delete all entries from the table. The key difficulty is NOT to read the entire file into memory!!! Proper streaming must be used since our applications will be manipulating large files. A small command line test Application is required to demonstrate. The test program should generate a large file (say 10Mb) and use the Insert method to stream it into the DB. it should then reread it using GetFile, save to a second file and compare the contents to check they are equal. There is some info in the net on how to use the Image type to accomplish the streaming. * * *This broadcast message was sent to all bidders on Tuesday Feb 17, 2009 8:37:08 AM: some people requested info on streaming to DB, I added to the description, here is a link which should help a lot. [login to view URL]
Project ID: 3645884

About the project

6 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$17 USD in 3 days
5.0 (166 reviews)
6.8
6.8
6 freelancers are bidding on average $53 USD for this job
User Avatar
See private message.
$85 USD in 3 days
5.0 (18 reviews)
6.1
6.1
User Avatar
See private message.
$85 USD in 3 days
5.0 (24 reviews)
4.5
4.5
User Avatar
See private message.
$66.30 USD in 3 days
4.9 (9 reviews)
3.9
3.9
User Avatar
See private message.
$50.15 USD in 3 days
5.0 (4 reviews)
3.7
3.7
User Avatar
See private message.
$42.50 USD in 3 days
3.1 (6 reviews)
2.4
2.4
User Avatar
See private message.
$59.50 USD in 3 days
5.0 (5 reviews)
1.8
1.8

About the client

Flag of SWITZERLAND
Lausanne, Switzerland
4.9
35
Payment method verified
Member since Jun 10, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.