Exemplo n.º 1
0
 internal void CheckLoadableAndThrow(string method)
 {
     if (GetStatus().IsNew())
     {
         throw new QueryTalkException("DbRow", QueryTalkExceptionType.NewRowException,
                                      String.Format("row = {0}{1}   status = {2}",
                                                    NodeID.GetNodeName(), Environment.NewLine, GetStatus()),
                                      method);
     }
 }