Click here to Skip to main content
15,891,906 members
Articles / Web Development / HTML

Signum Framework Tutorials Part 3 - Southwind Load

Rate me:
Please Sign up or sign in to vote.
4.62/5 (7 votes)
21 Nov 2012CPOL23 min read 24.5K   319   10  
In this part we'll write the loading application to move data from Northwind to Southwind.
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="_0As1" xml:space="preserve">
    <value>({0} como {1})</value>
  </data>
  <data name="_0DoesNotHaveAValid0Format" xml:space="preserve">
    <value>{{0}} não tem um formato válido {0}</value>
  </data>
  <data name="_0HasMoreThan0DecimalPlaces" xml:space="preserve">
    <value>{{0}} possui mais de {0} casas decimais</value>
  </data>
  <data name="_0HasNoCorrectFormat" xml:space="preserve">
    <value>{0} não tem o formato correcto</value>
  </data>
  <data name="_0HasSomeRepeatedElements0" xml:space="preserve">
    <value>{{0}} tem alguns elementos repetidos: {0}</value>
  </data>
  <data name="_0HasToBe0Than1" xml:space="preserve">
    <value>{{0}} deve ser {0} que {1}</value>
  </data>
  <data name="_0HasToBeBetween0And1" xml:space="preserve">
    <value>{{0}} deve estar entre {0} e {1}</value>
  </data>
  <data name="_0HasToBeLowercase" xml:space="preserve">
    <value>{0} deve ser em minúsculas</value>
  </data>
  <data name="_0HasToBeUppercase" xml:space="preserve">
    <value>{0} deve ser em maiúsculas</value>
  </data>
  <data name="_0IsNecessary" xml:space="preserve">
    <value>{0} é necessário</value>
  </data>
  <data name="_0IsNecessaryOnState1" xml:space="preserve">
    <value>{0} é necessário no estado {1}</value>
  </data>
  <data name="_0IsNotAllowed" xml:space="preserve">
    <value>{0} não é permitido</value>
  </data>
  <data name="_0IsNotAllowedOnState1" xml:space="preserve">
    <value>{0} não é permitido no estado {1}</value>
  </data>
  <data name="_0IsNotAValidIdentifier" xml:space="preserve">
    <value>'{0}' não é um identificador válido</value>
  </data>
  <data name="_0IsNotSet" xml:space="preserve">
    <value>{0} não está estabelecido</value>
  </data>
  <data name="And" xml:space="preserve">
    <value> e </value>
  </data>
  <data name="As0" xml:space="preserve">
    <value>Como {0}</value>
  </data>
  <data name="Be" xml:space="preserve">
    <value>ser </value>
  </data>
  <data name="BeBetween0And1" xml:space="preserve">
    <value>estar entre {0} e {1}</value>
  </data>
  <data name="BeNotNull" xml:space="preserve">
    <value>não pode ser nula</value>
  </data>
  <data name="Column0NotFound" xml:space="preserve">
    <value>Coluna {0} não encontrada</value>
  </data>
  <data name="ComparisonType_DistinctTo" xml:space="preserve">
    <value>diferente de</value>
  </data>
  <data name="ComparisonType_EqualTo" xml:space="preserve">
    <value>igual a</value>
  </data>
  <data name="ComparisonType_GreaterThan" xml:space="preserve">
    <value>maior que</value>
  </data>
  <data name="ComparisonType_GreaterThanOrEqual" xml:space="preserve">
    <value>maior ou igual a</value>
  </data>
  <data name="ComparisonType_LessThan" xml:space="preserve">
    <value>menor que</value>
  </data>
  <data name="ComparisonType_LessThanOrEqual" xml:space="preserve">
    <value>menor ou igual a</value>
  </data>
  <data name="Count" xml:space="preserve">
    <value>Contagem</value>
  </data>
  <data name="Date" xml:space="preserve">
    <value>Data</value>
  </data>
  <data name="Day" xml:space="preserve">
    <value>Dia</value>
  </data>
  <data name="FileName" xml:space="preserve">
    <value>Nome do ficheiro</value>
  </data>
  <data name="FilterOperation_Contains" xml:space="preserve">
    <value>contém</value>
  </data>
  <data name="FilterOperation_DistinctTo" xml:space="preserve">
    <value>diferente de</value>
  </data>
  <data name="FilterOperation_EndsWith" xml:space="preserve">
    <value>termina com</value>
  </data>
  <data name="FilterOperation_EqualTo" xml:space="preserve">
    <value>igual a</value>
  </data>
  <data name="FilterOperation_GreaterThan" xml:space="preserve">
    <value>maior que</value>
  </data>
  <data name="FilterOperation_GreaterThanOrEqual" xml:space="preserve">
    <value>maior ou igual a</value>
  </data>
  <data name="FilterOperation_LessThan" xml:space="preserve">
    <value>menor que</value>
  </data>
  <data name="FilterOperation_LessThanOrEqual" xml:space="preserve">
    <value>menor ou igual a</value>
  </data>
  <data name="FilterOperation_Like" xml:space="preserve">
    <value>como</value>
  </data>
  <data name="FilterOperation_StartsWith" xml:space="preserve">
    <value>começa por</value>
  </data>
  <data name="Have0Decimals" xml:space="preserve">
    <value>tem {0} casas decimais</value>
  </data>
  <data name="HaveANumberOfElements01" xml:space="preserve">
    <value>tem um número de elementos {0} {1}</value>
  </data>
  <data name="HaveAPrecisionOf" xml:space="preserve">
    <value>tem uma precisão de </value>
  </data>
  <data name="HaveBetween0And1Characters" xml:space="preserve">
    <value>têm entre {0} e {1} caracteres</value>
  </data>
  <data name="HaveMaximun0Characters" xml:space="preserve">
    <value>tem máximo {0} caracteres</value>
  </data>
  <data name="HaveMinimum0Characters" xml:space="preserve">
    <value>tem mínimo {0} caracteres</value>
  </data>
  <data name="HaveNoRepeatedElements" xml:space="preserve">
    <value>não tem elementos repetidos</value>
  </data>
  <data name="HaveValid0Format" xml:space="preserve">
    <value>tem formato {0} válido</value>
  </data>
  <data name="Hour" xml:space="preserve">
    <value>Hora</value>
  </data>
  <data name="IdentifiableEntity_ToStr" xml:space="preserve">
    <value>Texto</value>
  </data>
  <data name="IdNotValid" xml:space="preserve">
    <value>ID inválido</value>
  </data>
  <data name="ImmutableEntity_AllowChange" xml:space="preserve">
    <value>Permitir alterar</value>
  </data>
  <data name="InvalidFormat" xml:space="preserve">
    <value>Formato inválido</value>
  </data>
  <data name="LockeableEntity_Locked" xml:space="preserve">
    <value>Fechado</value>
  </data>
  <data name="Lowercase" xml:space="preserve">
    <value>Minúsculas</value>
  </data>
  <data name="Millisecond" xml:space="preserve">
    <value>Milissegundo</value>
  </data>
  <data name="Minute" xml:space="preserve">
    <value>Minuto</value>
  </data>
  <data name="Month" xml:space="preserve">
    <value>Mês</value>
  </data>
  <data name="MonthStart" xml:space="preserve">
    <value>Início do mês </value>
  </data>
  <data name="MoreThanOneColumnNamed0" xml:space="preserve">
    <value>Mais de uma coluna chamada {0}</value>
  </data>
  <data name="MoreThanOneTokenWithKey0FoundOn1" xml:space="preserve">
    <value>Mais que um token com a chave {0} encontrado em {1}</value>
  </data>
  <data name="New" xml:space="preserve">
    <value>Novo</value>
  </data>
  <data name="Of" xml:space="preserve">
    <value> de </value>
  </data>
  <data name="OrBeNull" xml:space="preserve">
    <value>ou é nulo</value>
  </data>
  <data name="Second" xml:space="preserve">
    <value>Segundo</value>
  </data>
  <data name="State0NotRegisteredInStateValidator" xml:space="preserve">
    <value>Estado {0} não registrado no StateValidator</value>
  </data>
  <data name="Telephone" xml:space="preserve">
    <value>Telefone</value>
  </data>
  <data name="TheLenghtOf0HasToBeEqualTo0" xml:space="preserve">
    <value>O comprimento de {{0}} deve ser igual a {0}</value>
  </data>
  <data name="TheLengthOf0HasToBeGreaterOrEqualTo0" xml:space="preserve">
    <value>O comprimento de {{0}} deve ser maior ou igual a {0}</value>
  </data>
  <data name="TheLengthOf0HasToBeLesserOrEqualTo0" xml:space="preserve">
    <value>O comprimento de {{0}} deve ser menor ou igual a {0}</value>
  </data>
  <data name="TheNumberOfElementsOf0HasToBe01" xml:space="preserve">
    <value>O número de elementos de {{0}} deve ser {0} {1}</value>
  </data>
  <data name="Token0NotCompatibleWith1" xml:space="preserve">
    <value>Token {0} não compatível com {1}</value>
  </data>
  <data name="TypeNotFound" xml:space="preserve">
    <value>Tipo não encontrado</value>
  </data>
  <data name="Uppercase" xml:space="preserve">
    <value>Maiúsculas</value>
  </data>
  <data name="Year" xml:space="preserve">
    <value>Ano</value>
  </data>
  <data name="AlertDN" xml:space="preserve">
    <value>Alertar</value>
  </data>
  <data name="AlertDN_AlertDate" xml:space="preserve">
    <value>Data de alerta</value>
  </data>
  <data name="AlertDN_CheckDate" xml:space="preserve">
    <value>Data de verificação</value>
  </data>
  <data name="AlertDN_Entity" xml:space="preserve">
    <value>Entidade</value>
  </data>
  <data name="AlertDN_Text" xml:space="preserve">
    <value>Texto</value>
  </data>
  <data name="ColorDN" xml:space="preserve">
    <value>Cor</value>
  </data>
  <data name="ColorDN_Hex" xml:space="preserve">
    <value>Hex</value>
  </data>
  <data name="CorruptEntity" xml:space="preserve">
    <value>Entidade corruptível</value>
  </data>
  <data name="CorruptEntity_Corrupt" xml:space="preserve">
    <value>Corromper</value>
  </data>
  <data name="ImmutableEntity" xml:space="preserve">
    <value>Entidade imutável</value>
  </data>
  <data name="LockableEntity_Locked" xml:space="preserve">
    <value>Bloqueado</value>
  </data>
  <data name="NoteDN" xml:space="preserve">
    <value>Nota</value>
  </data>
  <data name="NoteDN_Target" xml:space="preserve">
    <value>Destino</value>
  </data>
  <data name="NoteDN_Text" xml:space="preserve">
    <value>Texto</value>
  </data>
  <data name="TypeDN" xml:space="preserve">
    <value>Tipo</value>
  </data>
  <data name="TypeDN_ClassName" xml:space="preserve">
    <value>Class Name</value>
  </data>
  <data name="TypeDN_CleanName" xml:space="preserve">
    <value>Clean Name</value>
  </data>
  <data name="TypeDN_FriendlyName" xml:space="preserve">
    <value>Friendly Name</value>
  </data>
  <data name="TypeDN_FullClassName" xml:space="preserve">
    <value>Full Class Name</value>
  </data>
  <data name="TypeDN_Namespace" xml:space="preserve">
    <value>Namespace</value>
  </data>
  <data name="TypeDN_TableName" xml:space="preserve">
    <value>Table Name</value>
  </data>
  <data name="AttemptToModifyLockedEntity0" xml:space="preserve">
    <value>Tentativa de modificar entidade bloqueada {0}</value>
  </data>
</root>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Signum Software
Spain Spain
I'm Computer Scientist, one of the founders of Signum Software, and the lead developer behind Signum Framework.

www.signumframework.com

I love programming in C#, Linq, Compilers, Algorithms, Functional Programming, Computer Graphics, Maths...

Comments and Discussions