A definition for type was not found in Sterling database

Mar 29, 2011 at 2:49 PM

I hope this is a newbie mistake. I'm trying to save my class, AccountStatus, and I'm receiving the following error:

"A definition for type EveLight.Results.AccountStatus was not found in Sterling database EVE."

My class looks like this:

    public class AccountStatus:EVEResult
        public int UserID { get; set; }

        public string PaidUntil { get; set; }

        public string CreateDate { get; set; }

        public int LogonCount { get; set; }

        public long LogonMinutes { get; set; }

        public override System.Collections.Generic.IEnumerable<object> GetItems()
            return new[] { this };
and my database definition looks like this:


return new List<ITableDefinition




EVECacheItem,string>(c => c.Hash),


AccountStatus,bool>(s => true),



An EVECacheItem object is saved the line before without any troubl, can anyone give any suggestions?

Mar 29, 2011 at 3:33 PM

Never mind - a generic call meant it was being typed as an object - although the error message was coming back with the concrete type, that wasn't actually what it was checking for.