public ExternalizableAttribute GetExternalizableAttribute(Type type) { return(_attrCache.GetCustomAttribute <ExternalizableAttribute>(type)); }
public bool IsPersistTarget(Type type) { var entityAttr = _attrCache.GetCustomAttribute <EntityAttribute>(type); return(entityAttr == null? false: entityAttr.Persist); }