Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4899 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
7 changed files with 140 additions and 10 deletions
@ -0,0 +1,57 @@
@@ -0,0 +1,57 @@
|
||||
#region Usings
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
using System.Linq; |
||||
using System.Text; |
||||
using ICSharpCode.Data.Core.Interfaces; |
||||
|
||||
#endregion
|
||||
|
||||
namespace ICSharpCode.Data.Core.DatabaseObjects |
||||
{ |
||||
public class UserDefinedDataType : DatabaseObjectBase, IUserDefinedDataType |
||||
{ |
||||
#region Fields
|
||||
|
||||
private string _systemType = string.Empty; |
||||
private int _length = 0; |
||||
private bool _isNullable = false; |
||||
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
public string SystemType |
||||
{ |
||||
get { return _systemType; } |
||||
set |
||||
{ |
||||
_systemType = value; |
||||
OnPropertyChanged("SystemType"); |
||||
} |
||||
} |
||||
|
||||
public int Length |
||||
{ |
||||
get { return _length; } |
||||
set |
||||
{ |
||||
_length = value; |
||||
OnPropertyChanged("Length"); |
||||
} |
||||
} |
||||
|
||||
public bool IsNullable |
||||
{ |
||||
get { return _isNullable; } |
||||
set |
||||
{ |
||||
_isNullable = value; |
||||
OnPropertyChanged("IsNullable"); |
||||
} |
||||
} |
||||
|
||||
#endregion
|
||||
} |
||||
} |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
#region Usings
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
using System.Linq; |
||||
using System.Text; |
||||
|
||||
#endregion
|
||||
|
||||
namespace ICSharpCode.Data.Core.Interfaces |
||||
{ |
||||
public interface IUserDefinedDataType : IDatabaseObjectBase |
||||
{ |
||||
string SystemType { get; set; } |
||||
int Length { get; set; } |
||||
bool IsNullable { get; set; } |
||||
} |
||||
} |
Loading…
Reference in new issue