Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Ipaddress data type
 

Pages: 1
LLBLGen Pro Runtime Framework
Ipaddress data type
Page:1/1 

  Print all messages in this thread  
Poster Message
El Barto
User



Location:
The Netherlands / Limburg
Joined on:
09-Nov-2006 08:44:01
Posted:
61 posts
# Posted on: 19-Feb-2019 21:05:19.  
I'm using LLBLGen 5.4 and I noticed an ipaddress type shortcut. I wanted to use it but I don't know what DB datatype I need to use. I've tried nvarchar and varbinary but it complains it needs a type converter. What database data type do I need to use or do I need to write a typeconverter?
  Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
8022 posts
# Posted on: 20-Feb-2019 06:37:56.  
Hi there!

AFAIK, that System.Net.IPAddress is a .Net type, and that's why it's there, but there is no a DB type that matches it and no System TypeConverter that do the conversion automatically. So, if you want to use that type you have to implement a TypeConverter. It's not that hard, you could use the examples in the source code.


David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37186 posts
# Posted on: 20-Feb-2019 09:23:05.  
The type is a native type of PostgreSQL and its ado.net provider, hence it's present as a shortcut.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.