SHARE
TWEET

Untitled

a guest Jun 26th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <DataCompare>
  2.      <TableDefinition name="DefinitionName1" table="TableName">
  3.         <keys>
  4.          <Key>Key1</Key>
  5.         </keys>
  6.         <Columns>
  7.          <Column>Column1</Column>
  8.          <Column>Column2</Column>
  9.         </Columns>
  10.     </TableDefinition>
  11.  </DataCompare>
  12.      
  13. public class EVVCompareFactory
  14.     {
  15.         public static IList<Object> /*IList<ISource>*/ GetITables(string driverFile)
  16.         {
  17.             GetIColumnDefinitions(driverFile);
  18.  
  19.             return null;
  20.         }
  21.         public static IList<Object> /*IList<IColumnDefinition>*/ GetIColumnDefinitions(string driverFile)
  22.         {
  23.             XmlDocument doc = new XmlDocument();
  24.             doc.Load(driverFile);
  25.  
  26.             XmlNodeList columnDefinitionNodes = doc.DocumentElement.SelectNodes("/DataCompare/Sources/ColumnDefinitions/ColumnDefinition");
  27.             foreach (XmlNode node in columnDefinitionNodes)
  28.             {
  29.                 //Create new class called IColumnDefinition, which will implement a class called ColumnDefinition
  30.             }
  31.  
  32.             return null;
  33.         }
  34.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top