コード例 #1
0
 private object GetCurrentRelationValue(int ordinal, bool throwException)
 {
     ValidateRelationshipRange(ordinal);
     ValidateState();
     if (State == EntityState.Deleted && throwException)
     {
         throw EntityUtil.CurrentValuesDoesNotExist();
     }
     return(_relationshipWrapper.GetEntityKey(ordinal));
 }