PK::Auto doc patch from dwc
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / PK / Auto / MSSQL.pm
index 59877f1..3ae6287 100644 (file)
@@ -20,6 +20,10 @@ DBIx::Class::PK::Auto::MSSQL - Automatic Primary Key class for MSSQL
 \r
 =head1 SYNOPSIS\r
 \r
+    # In your table classes\r
+    __PACKAGE__->load_components(qw/PK::Auto::MSSQL Core/);\r
+    __PACKAGE__->set_primary_key('id');\r
+\r
 =head1 DESCRIPTION\r
 \r
 This class implements autoincrements for MSSQL.\r
@@ -32,4 +36,4 @@ Brian Cassidy <bricas@cpan.org>
 \r
 You may distribute this code under the same terms as Perl itself.\r
 \r
-=cut
\ No newline at end of file
+=cut\r