Welcome Guest, Not a member yet? Register   Sign In
Entity cast-on-fill
#4

Looking at the types of casting we provide, I can see a bulk-import like that having issues with casting to objects, datetime, timestamps, and potentially others, though. Without a lot of special case code I don't think it's a viable solution. Making a custom fill method on your Entity could be one solution for your bulk needs. I imagine it would need to check for field types that don't cast well to the database, etc.

Or, maybe I'm not thinking it all of the way through and missing a piece. That's happened before Smile
Reply


Messages In This Thread
Entity cast-on-fill - by MGatner - 04-14-2020, 10:40 AM
RE: Entity cast-on-fill - by kilishan - 04-14-2020, 10:54 AM
RE: Entity cast-on-fill - by MGatner - 04-14-2020, 11:01 AM
RE: Entity cast-on-fill - by kilishan - 04-14-2020, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB