public override TEntity CreateEntity() { if (!Localizations.Any()) { throw new Exception("Not localizations in localizable model!"); } return(base.CreateEntity()); }