candland

@candland rss self
June 19th 2006

ActiveRecord dictionary mapping.


[HasMany(typeof(MyObject), “object_id”, “objecttable”, RelationType = RelationType.Map,
Cascade = ManyRelationCascadeEnum.All, CustomAccess = Generics.Access, Lazy = true,
Index = “name-of-key-column-in-objecttable”, IndexType = “System.String”)]
public IDictionary<string, MyObject> Objects {…}


Castle Project :: View topic – Dictionary and RelationType.Map, Index, IndexType

blog comments powered by Disqus