HaDi

Results comments of HaDi

Hi, perfect now for Primary keys. Thanks a lot. However, if you create two "connected" entities, the foreign keys get not updated. They are still e.g. -1123 . Perhaps the...

When you create a Blog and a Blogpost in one roundtrip to the database. Blog.ID will be updated as it is the Primary key. BlogPost.BlogID will not be updated, as...

After update, the error is gone. Everything works again. Thanks!

Hi, tried to use the new 2.1 syntax: services.AddDefaultIdentity() .AddRoles() .AddEntityFrameworkStores(); By using this, you can not define a policy for roles. E.g.: services.AddAuthorization(options => { options.AddPolicy("RequireAdministratorRole", policy => policy.RequireRole("Administrator"));...

Hi, I have a bytea storing 80MB Files. Now I would like to stream that coulum somehow to the web browser via e.g. asp core: var output = _context. ......

Thanks. Based on this ideas https://stackoverflow.com/questions/4396863/how-to-make-streams-from-blobs-available-in-plain-old-c-sharp-objects-when-using and https://docs.microsoft.com/de-de/dotnet/framework/data/adonet/sqlclient-streaming-support I adopted this class... It wraps the database connection into a Stream so you can use it to stream it the browser/client....