home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / InfoPath.en-us / InfLR.cab / FL_ExtendTableAdapter_snippet_142633_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2008-09-17  |  1KB  |  33 lines

  1. <?xml version="1.0"?>
  2. <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  3.   <CodeSnippet Format="1.0.0">
  4.     <Header>
  5.       <Title>Extend a TableAdapter w/Partial Classes</Title>
  6.       <Author>Microsoft</Author>
  7.       <Description>Extends a TableAdapter using partial classes.  Includes the namespace required to reference existing TableAdapters</Description>
  8.       <Shortcut>dtTableAdaptPartial</Shortcut>
  9.     </Header>
  10.     <Snippet>
  11.       <Declarations>
  12.         <Literal>
  13.           <ID>Namespace</ID>
  14.           <Type>String</Type>
  15.           <ToolTip>The name of the DataSet the TableAdapters function upon</ToolTip>
  16.           <Default>NorthwindDataSet</Default>
  17.         </Literal>
  18.         <Literal>
  19.           <ID>TableAdapter</ID>
  20.           <Type>String</Type>
  21.           <ToolTip>The name of the TableAdapter you wish to expand</ToolTip>
  22.           <Default>CustomersTableAdapter</Default>
  23.         </Literal>
  24.       </Declarations>
  25.       <Code Language="VB"><![CDATA[Namespace $Namespace$TableAdapters
  26.     Partial Public Class $TableAdapter$
  27.  
  28.     End Class
  29. End Namespace
  30. ]]></Code>
  31.     </Snippet>
  32.   </CodeSnippet>
  33. </CodeSnippets>