X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FPK%2FAuto%2FMSSQL.pm;h=3ae628737cae635f5d1699df01b033754fa16c76;hb=6718c5f0bf2bb9528c055b5974488a6d37f1209a;hp=59877f109543f471f875f8d65db579c986c8e963;hpb=86e6ac3a67647f6207c3498dd098dce4c5ca4469;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/PK/Auto/MSSQL.pm b/lib/DBIx/Class/PK/Auto/MSSQL.pm index 59877f1..3ae6287 100644 --- a/lib/DBIx/Class/PK/Auto/MSSQL.pm +++ b/lib/DBIx/Class/PK/Auto/MSSQL.pm @@ -20,6 +20,10 @@ DBIx::Class::PK::Auto::MSSQL - Automatic Primary Key class for MSSQL =head1 SYNOPSIS + # In your table classes + __PACKAGE__->load_components(qw/PK::Auto::MSSQL Core/); + __PACKAGE__->set_primary_key('id'); + =head1 DESCRIPTION This class implements autoincrements for MSSQL. @@ -32,4 +36,4 @@ Brian Cassidy You may distribute this code under the same terms as Perl itself. -=cut \ No newline at end of file +=cut