In what scenarios would I need to use the CREATEREF, DEREF and REF keywords?

后端 未结 2 1532
我在风中等你
我在风中等你 2021-01-15 00:31

This question is about why I would use the above keywords. I\'ve found plenty of MSDN pages that explain how. I\'m looking for the why.

What query would I be tryin

2条回答
  •  失恋的感觉
    2021-01-15 01:03

    Look at this post

    One of the benefits of references is that it can be thought as a ‘lightweight’ entity in which we don’t need to spend resources in creating and maintaining the full entity state/values until it is really necessary. Once you have a ref to an entity, you can dereference it by using DEREF expression or by just invoking a property of the entity

提交回复
热议问题