// Token: 0x0600060B RID: 1547 RVA: 0x000244E8 File Offset: 0x000226E8 internal string GetNetObjectIdColumnForSwisEntity(string instanceType) { string result = null; if (this._netObjectTypes == null || this._netObjectTypes.Value == null) { return(null); } NetObjectTypeEx netObjectTypeEx = this._netObjectTypes.Value[instanceType].FirstOrDefault((NetObjectTypeEx n) => n.KeyPropertyIndex == 0); if (netObjectTypeEx != null) { result = netObjectTypeEx.KeyProperty; } return(result); }
internal string GetNetObjectIdColumnForSwisEntity(string instanceType) { string str = (string)null; if (this._netObjectTypes == null || this._netObjectTypes.Value == null) { return((string)null); } NetObjectTypeEx netObjectTypeEx = this._netObjectTypes.Value[instanceType].FirstOrDefault <NetObjectTypeEx>((Func <NetObjectTypeEx, bool>)(n => n.get_KeyPropertyIndex() == 0)); if (netObjectTypeEx != null) { str = netObjectTypeEx.get_KeyProperty(); } return(str); }