using System;
using System.Data;
using System.Data.Sql;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;

[Serializable]
[Microsoft.SqlServer.Server.SqlUserDefinedType(Format.Native)]
public struct Blittype : INullable
{
    Boolean bamount;
	SqlMoney money;
	//int[] a;
    public override string ToString()
    {
		
        // Replace the followng code with your code
        return "";
    }

    public bool IsNull
    {
        get
        {
            // Put your code here
            return m_Null;
        }
    }

    public static Blittype Null
    {
        get
        {
            Blittype h = new Blittype();
            h.m_Null = true;
            return h;
        }
    }

    public static Blittype Parse(SqlString s)
    {
        if (s.IsNull)
            return Null;
        Blittype u = new Blittype();
        // Put your code here
        return u;
    }

    // This is a place-holder method
    public string Method1()
    {
        //Insert method code here
        return "Hello";
    }

    // This is a place-holder static method
    public static SqlString Method2()
    {
        //Insert method code here
        return new SqlString("Hello");
    }

    // This is a place-holder field member
    public int var1;
    // Private member
    private bool m_Null;
}


