public bool PropertyEdited(string inName) { bool result = false; if (VD2PropertyInfos.ContainsKey(inName)) { VD2PropertyInfo info = null; if (VD2PropertyInfos.TryGetValue(inName, out info)) { result = info.EditedByUser; } } return(result); }
public bool PropertyIsObjectID(string inName) { bool result = false; if (VD2PropertyInfos.ContainsKey(inName)) { VD2PropertyInfo info = null; if (VD2PropertyInfos.TryGetValue(inName, out info)) { result = info.IsObjectID; } } return(result); }
public bool PropertyExistsInBaseData(string inName) { bool result = false; if (VD2PropertyInfos.ContainsKey(inName)) { VD2PropertyInfo info = null; if (VD2PropertyInfos.TryGetValue(inName, out info)) { result = info.ExistsInBaseData; } } return(result); }
public bool PropertyIsCollection(string inName, out Type outElementType) { bool result = false; Type elementtype = typeof(object); if (VD2PropertyInfos.ContainsKey(inName)) { VD2PropertyInfo info = null; if (VD2PropertyInfos.TryGetValue(inName, out info)) { result = info.IsCollection; elementtype = info.CollectionElementType; } } outElementType = elementtype; return(result); }
public bool PropertyIsObjectIDRef(string inName, out List <string> outRefTypes) { bool result = false; List <string> reftypes = new List <string>(); if (VD2PropertyInfos.ContainsKey(inName)) { VD2PropertyInfo info = null; if (VD2PropertyInfos.TryGetValue(inName, out info)) { result = info.IsObjectIDRef; reftypes.AddRange(info.ObjectIDRefTypes); } } outRefTypes = reftypes; return(result); }