> GetAllNonNativeAttributes() { NeoDatis.Tool.Wrappers.List.IOdbList <ClassAttributeInfo > result = new NeoDatis.Tool.Wrappers.List.OdbArrayList <ClassAttributeInfo >(attributes.Count); ClassAttributeInfo cai = null; for (int i = 0; i < attributes.Count; i++) { cai = attributes[i]; if (!cai.IsNative() || cai.GetAttributeType().IsEnum()) { result.Add(cai); } else { if (cai.GetAttributeType().IsArray() && !cai.GetAttributeType().GetSubType().IsNative ()) { result.Add(new ClassAttributeInfo(-1, "subtype" , cai.GetAttributeType().GetSubType().GetName(), null)); } } } return(result); }
> GetAllNonNativeAttributes() { NeoDatis.Tool.Wrappers.List.IOdbList<ClassAttributeInfo > result = new NeoDatis.Tool.Wrappers.List.OdbArrayList<ClassAttributeInfo >(attributes.Count); ClassAttributeInfo cai = null; for (int i = 0; i < attributes.Count; i++) { cai = attributes[i]; if (!cai.IsNative() || cai.GetAttributeType().IsEnum()) { result.Add(cai); } else { if (cai.GetAttributeType().IsArray() && !cai.GetAttributeType().GetSubType().IsNative ()) { result.Add(new ClassAttributeInfo(-1, "subtype" , cai.GetAttributeType().GetSubType().GetName(), null)); } } } return result; }