Click here to Skip to main content
Sign Up to vote bad
good
See more: C#4.0
In Java I can easily set an annotation
as for example
@Entity
Class User
{
String name;
...//geter
...//seter
}
Here @Entity is an annotation
I can be able to create a table name User and as User is set as @Entity annotation.
 
Similarly how can I able to set a c# class as Entity. Means How I make an @Entity annotation for a class?
kindly help me.
Also if any body know ,kindly tell me ,is there any annotation use for forward engineering in n-Hibernate?
Posted 8 Feb '13 - 2:00
Edited 8 Feb '13 - 6:16


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 508
1 Arun Vasu 275
2 Maciej Los 238
3 OriginalGriff 215
4 Mahesh Bailwal 200
0 Sergey Alexandrovich Kryukov 9,660
1 OriginalGriff 7,329
2 CPallini 3,968
3 Rohan Leuva 3,339
4 Maciej Los 2,851


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid