public SlxStyleKeyProvider(BeanApi api, string defaultKey = "") { _defaultKey = defaultKey == string.Empty ? api.DefaultKey() : defaultKey; api?.ReplaceAutoIncrement(_defaultKey); }