Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream/blob support #668

Open
pricerc opened this issue Apr 27, 2023 · 0 comments
Open

stream/blob support #668

pricerc opened this issue Apr 27, 2023 · 0 comments

Comments

@pricerc
Copy link

pricerc commented Apr 27, 2023

I'd like to store large files into blobs (varbinary(max)) in SQL Server, using a stream instead of loading the whole file into memory.

Is there an easy way to do this with PetaPoco?

I can do it using a SqlCommand and my PetaPoco's connection, but I thought it would look better if I could just pass a stream to a PetaPoco method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant