示例#1
0
        public Boolean CanWriteForWikipedia()
        {
            Boolean lResult = EntityTypeHelper.IsCompatibleEntityType(Type, EntityType.Amphoe);

            if (Type == EntityType.Tambon)
            {
                lResult = SubEntities.Find(
                    delegate(PopulationDataEntry lEntry)
                {
                    return(lEntry.Type == EntityType.Muban);
                }) != null;
            }
            return(lResult);
        }
示例#2
0
 public ContextSubEntity GetSubEntity(SubEntityBindingPointCategoryEnum category)
 {
     return(SubEntities.Find(x => x.Category == category));
 }