Entity Extensions

  • GetDetails - Gets the details of the entity in a delimited String format.
    • public static String GetDetails(this Entity entity, String delimiter = ", ")
  • NullInvalidAttributes - Iterates over an entities attributes and nulls any values that will cause errors during CRUD operations.
    • public static void NullInvalidAttributes(this Entity entity)
    • Helpful for nulling out datetime's with invalid values for MSCRM (common during integrations with external sources).

Last edited Oct 26, 2011 at 1:02 AM by cchamberlain, version 2

Comments

No comments yet.