Early Bound:
- The code generation tool (CrmSvcUtil) creates early-bound entity classes
- Each entity (System and Custom) has class.
- All attributes and relationships are included in the generated classes.
- When we write code intelligence support for entity names ,attributes and relationships
- No compilation errors of attributes and entities.
- Early bound saves compilation time.
- We have to generate wrapper class every time to use the newly created entities or new fields
- Over network performance is low because of early bound classes are converted to late bound classes.
- Code development is faster
- compile-time checking of all types so that no implicit casts occur
Late Bound:
- Code development is bit slow compared to early bound
- Less serialization occurs as entity data is transmitted over a network, which means higher performance
- Developer can make spelling mistakes while developing code, which causes run time errors.
- Late binding checks types only when the object is created or an action is performed on the type
No comments:
Post a Comment