Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 12:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



NHibernate Mapping Generator

Discussion on NHibernate Mapping Generator within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
NHibernate Mapping Generator

I`m a ******* idiot (and you are as well if you did like me) for not using this before.



Have fun!
KraHen is offline  
Old 02/02/2014, 22:29   #2
 
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
This is only good if you've already designed your database. I'd rather create the mapping files (and design the database) manually and then have NHibernate generate the database tables automatically.
SteveRambo is offline  
Thanks
1 User
Old 02/02/2014, 22:31   #3


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Yeah, I`m currently porting a PHP backend to .NET and this is my case, I ported the whole DB related stuff in half an hour with this little thing here. Although I do share your point of view.
KraHen is offline  
Old 02/02/2014, 22:54   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
I remember finding this the first time I implemented .NET Hibernate and was exploring the library. I considered implementing it, but I like the control. It usually lets me catch problems early on, like if I accidentally delete the health column when making a new column, I wrote the map file and so it catches the problem (since it's not generated). I also document the files.
Spirited is offline  
Reply


Similar Threads Similar Threads
Mapping
12/16/2013 - Metin2 Private Server - 0 Replies
Hey, hab mir ne neue Map erstellt, ist nicht die Erste. Allerdings die erste Map welche mich nach dem Reloggen unter der Map spawnen lässt. Kann mich ganz normal auf die Map teleportieren, sobald ich mich relogge bin ich wieder unter der Map & alles ist schwarz. /go funktioniert dann auch nicht mehr, muss mich also erneut auf die map mit /warp porten. Weiß jemand wo der Fehler liegt?
couple questions about custom source (NHibernate,networking socket,dmap reading)
07/29/2013 - CO2 Private Server - 13 Replies
this is my first try for a custom source, im almost ready to finish everything but i got some questions that bothers me why NHibernate instead of custom class to read/write from/to database ? about efficiency, implementation and compatibility why would you call a socket class better than other ? i've had reversed infamousnone socket class dll, saw impulse socket class at trinity and at pp, saw 2 more , all sounds the same, i know any would do but i want to code something decent dmap...
Fluent NHibernate very strange manner.
10/18/2012 - CO2 Private Server - 9 Replies
When i try to add a value to the database using string charname = "Dan"; var account = new Account { Username = charname }; AccountRepository.Add(account);
Mapping
02/22/2012 - Metin2 Private Server - 2 Replies
Hey ihr, ich hab nen Problem. Also wenn ich eine 1x1 map mache läuft alles wunderbar! Sobald ich die Map dann auf 2x2 mache oder höher verschwinden die konturen komplett. Ich sehe keinen boden aber dafür den Himmel. Kann mir jemand vllt sagen woran das liegen kann? Im ordner für 1x1: Ordner: 00000 mapproperty setting: ScriptType MapSetting
[Mapping Umfrage] Eure Mapping vorschlage hier rein.
06/13/2011 - Flyff Private Server - 5 Replies
Hallo Leute. Nachdem ich die PvP Erfolgreich erledigt habe will ich mich zu einen neuen Projekt des Mappings zu wenden. Gibt mir euere Vorschläge : - Soll ich eine neue welt erstellen bzw Mappen ( was für eine Map solls sein + beschreibung ein bisschen ) - Soll ich eine Offi Map wie Flaris verändern ? ( Beispiele + beschreibung ) Eure vorschläge könnt ihr jetzt hier rein schreiben.



All times are GMT +1. The time now is 12:41.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.