public class User
{
public long Id {get;set;}
[References(typeof(City))]
public long CityId {get;set;}
[????]
public City {get;set;}
}
Sto tentando di utilizzare ServiceStack.OrmLite. Sto usando sia ReferenceKey (CityId) che Reference (City). ReferenceKey è per la creazione di Db, Reference è per usare l'oggetto nel mio codice.Come può ServiceStack.OrmLite ignorare una proprietà per attributo
Grazie @ozz. Sembra buono. – Gray