Say I have a Customer entity type with Name and Phone string properties. If I do:
versus:
It generates the same query:
Is this because DO uses the FastLoadData column, which contains the data for both properties? If so, here's an interesting side effect. Say I use the first fill descriptor (which omits the "Phone" property). If I then access the customer.Phone property, why does DO do a round-trip to the DB? The property's value is already contained in the FastLoadData? This actually isn't a big deal, because the FillDescriptor should include the Phone property if I'm going to consume it. But I wanted to know if there's anything I'm missing. |
You are absolutely right. In this case At the same time |