+
+ [HasMany(Cascade=ManyRelationCascadeEnum.AllDeleteOrphan,Lazy=true)]
+ public IList<FileTag> Tags
+ {
+ get { return _tags; }
+ set { _tags=value;}
+ }
+
+ }
+
+ [ActiveRecord]
+ public class FileTag : ActiveRecordLinqBase<FileTag>
+ {
+ [PrimaryKey]
+ public string FilePath { get; set; }
+
+ [Property]
+ public string Value { get; set; }
+
+ [BelongsTo("FilePath")]
+ public FileState FileState { get; set; }
+