コード例 #1
0
ファイル: TypeToEntity.cs プロジェクト: pingvinen/worm
 protected void AddProperties(PocoEntity result, WType type)
 {
     PropertyToPocoField converter = this.factory.GetPropertyToPocoField();
     foreach (WProperty property in type.GetProperties())
     {
         if (property.GetAttribute<WormIgnoreAttribute>() == default(WormIgnoreAttribute))
         {
             result.Fields.Add(converter.Parse(property));
         }
     }
 }