⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (472 Bytes)
Support for composite primary keys in dbo
» CompositeKey.h
The class defining the composite primary key -
Michael Wagner
, 09/22/2010 08:02 PM
/*
* CompositeKey.h
*
* Created on: Sep 22, 2010
* Author: gci
*/
#ifndef COMPOSITEKEY_H_
#define COMPOSITEKEY_H_
namespace
Domain
{
class
CompositeKey
{
public:
int
id_
;
short
idMandator_
;
CompositeKey
();
CompositeKey
(
int
id
,
short
idMandator
);
CompositeKey
(
const
CompositeKey
&
src
);
virtual
~
CompositeKey
();
bool
operator
==
(
const
CompositeKey
&
other
)
const
;
bool
operator
<
(
const
CompositeKey
&
other
)
const
;
};
}
#endif
/* COMPOSITEKEY_H_ */
« Previous
1
2
3
4
Next »
(1-1/4)
Loading...