The EntityMetaData class holds metadata for the MBO, including attributes and operations.
EntityMetaData customerMetaData = Customer.GetMetaData();
    AttributeMetaData lname = customerMetaData.GetAttribute("lname");
    OperationMetaData save = customerMetaData.GetOperation("save");