public bool IsUpdaterType(CslaObjectType cslaType) { if (cslaType.IsEditableRoot() || cslaType.IsEditableChild() || cslaType.IsDynamicEditableRoot() || cslaType.IsEditableSwitchable()) { return(true); } return(false); }
public static bool IsObjectType(this CslaObjectType cslaType) { if (cslaType.IsEditableRoot() || cslaType.IsEditableChild() || cslaType.IsEditableSwitchable() || cslaType.IsDynamicEditableRoot() || cslaType.IsReadOnlyObject()) { return(true); } return(false); }
public static bool IsNotEditableSwitchable(this CslaObjectType cslaType) { return(!cslaType.IsEditableSwitchable()); }