Whoops
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / Storage / DBI / ADO / Microsoft_SQL_Server.pm
CommitLineData
4ffa5700 1package DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server;
2
3use strict;
4use warnings;
5
6use base qw/
7 DBIx::Class::Storage::DBI::ADO
8 DBIx::Class::Storage::DBI::MSSQL
9/;
10use mro 'c3';
11
12sub _rebless {
13 my $self = shift;
14 $self->_identity_method('@@identity');
15}
16
171;
18
19=head1 NAME
20
9f0c231f 21DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server - Support for Microsoft
4ffa5700 22SQL Server via DBD::ADO
23
24=head1 SYNOPSIS
25
26This subclass supports MSSQL server connections via L<DBD::ADO>.
27
28=head1 DESCRIPTION
29
30The MSSQL specific functionality is provided by
31L<DBIx::Class::Storage::DBI::MSSQL>.
32
33C<_identity_method> is set to C<@@identity>, as C<SCOPE_IDENTITY()> doesn't work
34with L<DBD::ADO>. See L<DBIx::Class::Storage::DBI::MSSQL/IMPLEMENTATION NOTES>
35for caveats regarding this.
36
37=head1 AUTHOR
38
39See L<DBIx::Class/CONTRIBUTORS>.
40
41=head1 LICENSE
42
43You may distribute this code under the same terms as Perl itself.
44
45=cut