//------------------------------------------------------------------------------
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Entity Developer tool.
// Code is generated on: 15.09.2010 16:50:34
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//------------------------------------------------------------------------------

	using System.Data.Linq;
	using System.Data.Linq.Mapping;
	using System.Data;
	using System.Collections.Generic;
	using System.Reflection;
	using System.Linq;
	using System.Linq.Expressions;
	using System.ComponentModel;
	using System;
    using System.Runtime.Serialization;
	
	[System.Data.Linq.Mapping.DatabaseAttribute(Name = "NOVA")] 
	[ProviderAttribute(typeof(Devart.Data.Oracle.Linq.Provider.OracleDataProvider))] 
	public partial class ContextDataBase : Devart.Data.Linq.DataContext
	{
		private static System.Data.Linq.Mapping.MappingSource mappingSource = new Devart.Data.Linq.Mapping.AttributeMappingSource();

		#region Extensibility Method Definitions
		partial void OnCreated();
        partial void InsertZerr(Zerr instance);
        partial void UpdateZerr(Zerr instance);
        partial void DeleteZerr(Zerr instance);

        partial void InsertSSTA(SSTA instance);
        partial void UpdateSSTA(SSTA instance);
        partial void DeleteSSTA(SSTA instance);

        partial void InsertZINS(ZINS instance);
        partial void UpdateZINS(ZINS instance);
        partial void DeleteZINS(ZINS instance);
      

		#endregion

		public ContextDataBase() :
            base(@"user id=nova;Password=NOVA;server=10.12.12.114;direct=True;sid=novacldev;port=1525;persist security info=True;Unicode=True", mappingSource)
		{
			OnCreated();
		}

		public ContextDataBase(string connection) :
				base(connection, mappingSource)
		{
           // this.Connection.ConnectionString = CryptorEngine.CryptConnexionString(connection); 
			OnCreated();
		}

		public ContextDataBase(System.Data.IDbConnection connection) :
				base(connection, mappingSource)
		{
			OnCreated();
		}

		public ContextDataBase(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
				base(connection, mappingSource)
		{
			OnCreated();
		}

        public ContextDataBase(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
				base(connection, mappingSource)
		{
			OnCreated();
		}



        public Devart.Data.Linq.Table<ZINS> ZINS
        {
            get
            {
                return this.GetTable<ZINS>();
            }
        }
        public Devart.Data.Linq.Table<SSTA> SSTAs
        {
            get
            {
                return this.GetTable<SSTA>();
            }
        }

        public Devart.Data.Linq.Table<Zerr> Zerrs
        {
            get
            {
                return this.GetTable<Zerr>();
            }
        }
	}

    [Table(Name = @"NOVA.ZERR")]
    public partial class Zerr : INotifyPropertyChanging, INotifyPropertyChanged
    {

        private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);

        private string _ZerrIdu;

        private string _ZerrPrg;

        private int _ZerrDat;

        private int _ZerrHre;

        private int _ZerrPas;

        private string _ZerrNum;

        private string _ZerrMsg;

        private string _ZerrKey;

        private System.Nullable<double> _ZerrMat;

        private string _ZerrApp;

        private System.Nullable<int> _ZerrSeq;

        private System.Nullable<int> _ZerrPti;

        private System.Nullable<int> _ZerrNiv;

        private System.Nullable<int> _ZerrSe2;

        #region Extensibility Method Definitions
        partial void OnLoaded();
        partial void OnValidate(System.Data.Linq.ChangeAction action);
        partial void OnCreated();
        partial void OnZerrIduChanging(string value);
        partial void OnZerrIduChanged();
        partial void OnZerrPrgChanging(string value);
        partial void OnZerrPrgChanged();
        partial void OnZerrDatChanging(int value);
        partial void OnZerrDatChanged();
        partial void OnZerrHreChanging(int value);
        partial void OnZerrHreChanged();
        partial void OnZerrPasChanging(int value);
        partial void OnZerrPasChanged();
        partial void OnZerrNumChanging(string value);
        partial void OnZerrNumChanged();
        partial void OnZerrMsgChanging(string value);
        partial void OnZerrMsgChanged();
        partial void OnZerrKeyChanging(string value);
        partial void OnZerrKeyChanged();
        partial void OnZerrMatChanging(System.Nullable<double> value);
        partial void OnZerrMatChanged();
        partial void OnZerrAppChanging(string value);
        partial void OnZerrAppChanged();
        partial void OnZerrSeqChanging(System.Nullable<int> value);
        partial void OnZerrSeqChanged();
        partial void OnZerrPtiChanging(System.Nullable<int> value);
        partial void OnZerrPtiChanged();
        partial void OnZerrNivChanging(System.Nullable<int> value);
        partial void OnZerrNivChanged();
        partial void OnZerrSe2Changing(System.Nullable<int> value);
        partial void OnZerrSe2Changed();
        #endregion

        public Zerr()
        {
            OnCreated();
        }

        [Column(Name = @"ZERR_IDU", Storage = "_ZerrIdu", CanBeNull = false, DbType = "VARCHAR2(10) NOT NULL", IsPrimaryKey = true)]
        public string ZerrIdu
        {
            get
            {
                return this._ZerrIdu;
            }
            set
            {
                if (this._ZerrIdu != value)
                {
                    this.OnZerrIduChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrIdu = value;
                    this.SendPropertyChanged("ZerrIdu");
                    this.OnZerrIduChanged();
                }
            }
        }

        [Column(Name = @"ZERR_PRG", Storage = "_ZerrPrg", CanBeNull = false, DbType = "VARCHAR2(20) NOT NULL", IsPrimaryKey = true)]
        public string ZerrPrg
        {
            get
            {
                return this._ZerrPrg;
            }
            set
            {
                if (this._ZerrPrg != value)
                {
                    this.OnZerrPrgChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrPrg = value;
                    this.SendPropertyChanged("ZerrPrg");
                    this.OnZerrPrgChanged();
                }
            }
        }

        [Column(Name = @"ZERR_DAT", Storage = "_ZerrDat", CanBeNull = false, DbType = "NUMBER(8) NOT NULL", IsPrimaryKey = true)]
        public int ZerrDat
        {
            get
            {
                return this._ZerrDat;
            }
            set
            {
                if (this._ZerrDat != value)
                {
                    this.OnZerrDatChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrDat = value;
                    this.SendPropertyChanged("ZerrDat");
                    this.OnZerrDatChanged();
                }
            }
        }

        [Column(Name = @"ZERR_HRE", Storage = "_ZerrHre", CanBeNull = false, DbType = "NUMBER(6) NOT NULL", IsPrimaryKey = true)]
        public int ZerrHre
        {
            get
            {
                return this._ZerrHre;
            }
            set
            {
                if (this._ZerrHre != value)
                {
                    this.OnZerrHreChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrHre = value;
                    this.SendPropertyChanged("ZerrHre");
                    this.OnZerrHreChanged();
                }
            }
        }

        [Column(Name = @"ZERR_PAS", Storage = "_ZerrPas", CanBeNull = false, DbType = "NUMBER(4) NOT NULL", IsPrimaryKey = true)]
        public int ZerrPas
        {
            get
            {
                return this._ZerrPas;
            }
            set
            {
                if (this._ZerrPas != value)
                {
                    this.OnZerrPasChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrPas = value;
                    this.SendPropertyChanged("ZerrPas");
                    this.OnZerrPasChanged();
                }
            }
        }

        [Column(Name = @"ZERR_NUM", Storage = "_ZerrNum", DbType = "VARCHAR2(10)")]
        public string ZerrNum
        {
            get
            {
                return this._ZerrNum;
            }
            set
            {
                if (this._ZerrNum != value)
                {
                    this.OnZerrNumChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrNum = value;
                    this.SendPropertyChanged("ZerrNum");
                    this.OnZerrNumChanged();
                }
            }
        }

        [Column(Name = @"ZERR_MSG", Storage = "_ZerrMsg", DbType = "VARCHAR2(255)")]
        public string ZerrMsg
        {
            get
            {
                return this._ZerrMsg;
            }
            set
            {
                if (this._ZerrMsg != value)
                {
                    this.OnZerrMsgChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrMsg = value;
                    this.SendPropertyChanged("ZerrMsg");
                    this.OnZerrMsgChanged();
                }
            }
        }

        [Column(Name = @"ZERR_KEY", Storage = "_ZerrKey", DbType = "VARCHAR2(255)")]
        public string ZerrKey
        {
            get
            {
                return this._ZerrKey;
            }
            set
            {
                if (this._ZerrKey != value)
                {
                    this.OnZerrKeyChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrKey = value;
                    this.SendPropertyChanged("ZerrKey");
                    this.OnZerrKeyChanged();
                }
            }
        }

        [Column(Name = @"ZERR_MAT", Storage = "_ZerrMat", DbType = "NUMBER(10)")]
        public System.Nullable<double> ZerrMat
        {
            get
            {
                return this._ZerrMat;
            }
            set
            {
                if (this._ZerrMat != value)
                {
                    this.OnZerrMatChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrMat = value;
                    this.SendPropertyChanged("ZerrMat");
                    this.OnZerrMatChanged();
                }
            }
        }

        [Column(Name = @"ZERR_APP", Storage = "_ZerrApp", DbType = "VARCHAR2(50)")]
        public string ZerrApp
        {
            get
            {
                return this._ZerrApp;
            }
            set
            {
                if (this._ZerrApp != value)
                {
                    this.OnZerrAppChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrApp = value;
                    this.SendPropertyChanged("ZerrApp");
                    this.OnZerrAppChanged();
                }
            }
        }

        [Column(Name = @"ZERR_SEQ", Storage = "_ZerrSeq", DbType = "NUMBER(8)")]
        public System.Nullable<int> ZerrSeq
        {
            get
            {
                return this._ZerrSeq;
            }
            set
            {
                if (this._ZerrSeq != value)
                {
                    this.OnZerrSeqChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrSeq = value;
                    this.SendPropertyChanged("ZerrSeq");
                    this.OnZerrSeqChanged();
                }
            }
        }

        [Column(Name = @"ZERR_PTI", Storage = "_ZerrPti", DbType = "NUMBER(1)")]
        public System.Nullable<int> ZerrPti
        {
            get
            {
                return this._ZerrPti;
            }
            set
            {
                if (this._ZerrPti != value)
                {
                    this.OnZerrPtiChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrPti = value;
                    this.SendPropertyChanged("ZerrPti");
                    this.OnZerrPtiChanged();
                }
            }
        }

        [Column(Name = @"ZERR_NIV", Storage = "_ZerrNiv", DbType = "NUMBER(3)")]
        public System.Nullable<int> ZerrNiv
        {
            get
            {
                return this._ZerrNiv;
            }
            set
            {
                if (this._ZerrNiv != value)
                {
                    this.OnZerrNivChanging(value);
                    this.SendPropertyChanging();
                    this._ZerrNiv = value;
                    this.SendPropertyChanged("ZerrNiv");
                    this.OnZerrNivChanged();
                }
            }
        }

        [Column(Name = @"ZERR_SE2", Storage = "_ZerrSe2", DbType = "NUMBER(8)")]
        public System.Nullable<int> ZerrSe2
        {
            get
            {
                return this._ZerrSe2;
            }
            set
            {
                if (this._ZerrSe2 != value)
                {
                    this.OnZerrSe2Changing(value);
                    this.SendPropertyChanging();
                    this._ZerrSe2 = value;
                    this.SendPropertyChanged("ZerrSe2");
                    this.OnZerrSe2Changed();
                }
            }
        }

        public event PropertyChangingEventHandler PropertyChanging;

        public event PropertyChangedEventHandler PropertyChanged;

        protected virtual void SendPropertyChanging()
        {
            if (this.PropertyChanging != null)
                this.PropertyChanging(this, emptyChangingEventArgs);
        }

        protected virtual void SendPropertyChanged(String propertyName)
        {
            if (this.PropertyChanged != null)
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }
    }
    /// There are no comments for ZHRU in the schema.
    /// </summary>
   
    /// <summary>
    /// There are no comments for ZINS in the schema.
    /// </summary>
    [Table(Name = @"NOVA.ZINS")]
    public partial class ZINS : INotifyPropertyChanging, INotifyPropertyChanged
    {

        private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);

        private int _ZINS_SOC;

        private string _ZINS_COD;

        private string _ZINS_DES;

        private string _ZINS_PAR;

        private string _ZINS_LIB;

        private string _ZINS_CHOI;

        private string _ZINS_PRG;

        private string _ZINS_APP;

        #region Extensibility Method Definitions
        partial void OnLoaded();
        partial void OnValidate(System.Data.Linq.ChangeAction action);
        partial void OnCreated();
        partial void OnZINS_SOCChanging(int value);
        partial void OnZINS_SOCChanged();
        partial void OnZINS_CODChanging(string value);
        partial void OnZINS_CODChanged();
        partial void OnZINS_DESChanging(string value);
        partial void OnZINS_DESChanged();
        partial void OnZINS_PARChanging(string value);
        partial void OnZINS_PARChanged();
        partial void OnZINS_LIBChanging(string value);
        partial void OnZINS_LIBChanged();
        partial void OnZINS_CHOIChanging(string value);
        partial void OnZINS_CHOIChanged();
        partial void OnZINS_PRGChanging(string value);
        partial void OnZINS_PRGChanged();
        partial void OnZINS_APPChanging(string value);
        partial void OnZINS_APPChanged();
        #endregion

        public ZINS()
        {
            OnCreated();
        }


        /// <summary>
        /// There are no comments for ZINS_SOC in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_SOC", CanBeNull = false, DbType = "NUMBER(4) NOT NULL", IsPrimaryKey = true)]
        public int ZINS_SOC
        {
            get
            {
                return this._ZINS_SOC;
            }
            set
            {
                if (this._ZINS_SOC != value)
                {
                    this.OnZINS_SOCChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_SOC = value;
                    this.SendPropertyChanged("ZINS_SOC");
                    this.OnZINS_SOCChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for ZINS_COD in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_COD", CanBeNull = false, DbType = "VARCHAR2(10) NOT NULL", IsPrimaryKey = true)]
        public string ZINS_COD
        {
            get
            {
                return this._ZINS_COD;
            }
            set
            {
                if (this._ZINS_COD != value)
                {
                    this.OnZINS_CODChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_COD = value;
                    this.SendPropertyChanged("ZINS_COD");
                    this.OnZINS_CODChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for ZINS_DES in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_DES", DbType = "VARCHAR2(4000) NULL")]
        public string ZINS_DES
        {
            get
            {
                return this._ZINS_DES;
            }
            set
            {
                if (this._ZINS_DES != value)
                {
                    this.OnZINS_DESChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_DES = value;
                    this.SendPropertyChanged("ZINS_DES");
                    this.OnZINS_DESChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for ZINS_PAR in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_PAR", DbType = "VARCHAR2(254) NULL")]
        public string ZINS_PAR
        {
            get
            {
                return this._ZINS_PAR;
            }
            set
            {
                if (this._ZINS_PAR != value)
                {
                    this.OnZINS_PARChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_PAR = value;
                    this.SendPropertyChanged("ZINS_PAR");
                    this.OnZINS_PARChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for ZINS_LIB in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_LIB", CanBeNull = false, DbType = "VARCHAR2(254) NOT NULL")]
        public string ZINS_LIB
        {
            get
            {
                return this._ZINS_LIB;
            }
            set
            {
                if (this._ZINS_LIB != value)
                {
                    this.OnZINS_LIBChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_LIB = value;
                    this.SendPropertyChanged("ZINS_LIB");
                    this.OnZINS_LIBChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for ZINS_CHOI in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_CHOI", CanBeNull = false, DbType = "VARCHAR2(12) NOT NULL")]
        public string ZINS_CHOI
        {
            get
            {
                return this._ZINS_CHOI;
            }
            set
            {
                if (this._ZINS_CHOI != value)
                {
                    this.OnZINS_CHOIChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_CHOI = value;
                    this.SendPropertyChanged("ZINS_CHOI");
                    this.OnZINS_CHOIChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for ZINS_PRG in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_PRG", DbType = "VARCHAR2(20) NULL")]
        public string ZINS_PRG
        {
            get
            {
                return this._ZINS_PRG;
            }
            set
            {
                if (this._ZINS_PRG != value)
                {
                    this.OnZINS_PRGChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_PRG = value;
                    this.SendPropertyChanged("ZINS_PRG");
                    this.OnZINS_PRGChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for ZINS_APP in the schema.
        /// </summary>
        [Column(Storage = "_ZINS_APP", DbType = "VARCHAR2(20) NULL")]
        public string ZINS_APP
        {
            get
            {
                return this._ZINS_APP;
            }
            set
            {
                if (this._ZINS_APP != value)
                {
                    this.OnZINS_APPChanging(value);
                    this.SendPropertyChanging();
                    this._ZINS_APP = value;
                    this.SendPropertyChanged("ZINS_APP");
                    this.OnZINS_APPChanged();
                }
            }
        }

        public event PropertyChangingEventHandler PropertyChanging;

        public event PropertyChangedEventHandler PropertyChanged;

        protected virtual void SendPropertyChanging()
        {
            if (this.PropertyChanging != null)
                this.PropertyChanging(this, emptyChangingEventArgs);
        }

        protected virtual void SendPropertyChanging(String propertyName)
        {
            if (this.PropertyChanging != null)
                this.PropertyChanging(this, new PropertyChangingEventArgs(propertyName));
        }

        protected virtual void SendPropertyChanged(String propertyName)
        {
            if (this.PropertyChanged != null)
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }
    }

    /// <summary>
    /// There are no comments for SSTA in the schema.
    /// </summary>
    /// <LongDescription>
    /// Categorie statut
    /// </LongDescription>
    [Table(Name = @"NOVA.SSTA")]
    public partial class SSTA : INotifyPropertyChanging, INotifyPropertyChanged
    {

        private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);

        private string _SSTA_TST;

        private string _SSTA_NUM;

        private string _SSTA_LIB;

        private string _SSTA_DEB;

        private string _SSTA_CRE;

        private string _SSTA_LI2;

        private int _SSTA_PAS;
        private int _SSTA_VIS;
        private System.Nullable<double> _SSTA_VAL1;

        private System.Nullable<double> _SSTA_VAL2;

        private string _SSTA_COD1;

        private string _SSTA_COD2;

        #region Extensibility Method Definitions
        partial void OnLoaded();
        partial void OnValidate(System.Data.Linq.ChangeAction action);
        partial void OnCreated();
        partial void OnSSTA_TSTChanging(string value);
        partial void OnSSTA_TSTChanged();
        partial void OnSSTA_NUMChanging(string value);
        partial void OnSSTA_NUMChanged();
        partial void OnSSTA_LIBChanging(string value);
        partial void OnSSTA_LIBChanged();
        partial void OnSSTA_DEBChanging(string value);
        partial void OnSSTA_DEBChanged();
        partial void OnSSTA_CREChanging(string value);
        partial void OnSSTA_CREChanged();
        partial void OnSSTA_LI2Changing(string value);
        partial void OnSSTA_LI2Changed();
        partial void OnSSTA_PASChanging(int value);
        partial void OnSSTA_PASChanged();
        partial void OnSSTA_VAL1Changing(System.Nullable<double> value);
        partial void OnSSTA_VAL1Changed();
        partial void OnSSTA_VAL2Changing(System.Nullable<double> value);
        partial void OnSSTA_VAL2Changed();
        partial void OnSSTA_COD1Changing(string value);
        partial void OnSSTA_COD1Changed();
        partial void OnSSTA_COD2Changing(string value);
        partial void OnSSTA_COD2Changed();
        partial void OnSSTA_VISChanging(int value);
        partial void OnSSTA_VISChanged();
        #endregion

        public SSTA()
        {
            OnCreated();
        }


        /// <summary>
        /// There are no comments for SSTA_TST in the schema.
        /// </summary>
        /// <LongDescription>
        /// No statut
        /// </LongDescription>
        [Column(Storage = "_SSTA_TST", CanBeNull = false, DbType = "VARCHAR2(10) NOT NULL", IsPrimaryKey = true)]
        public string SSTA_TST
        {
            get
            {
                return this._SSTA_TST;
            }
            set
            {
                if (this._SSTA_TST != value)
                {
                    this.OnSSTA_TSTChanging(value);
                    this.SendPropertyChanging();
                    this._SSTA_TST = value;
                    this.SendPropertyChanged("SSTA_TST");
                    this.OnSSTA_TSTChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_NUM in the schema.
        /// </summary>
        /// <LongDescription>
        /// Code statut
        /// </LongDescription>
        [Column(Storage = "_SSTA_NUM", CanBeNull = false, DbType = "VARCHAR2(12) NOT NULL", IsPrimaryKey = true)]
        public string SSTA_NUM
        {
            get
            {
                return this._SSTA_NUM;
            }
            set
            {
                if (this._SSTA_NUM != value)
                {
                    this.OnSSTA_NUMChanging(value);
                    this.SendPropertyChanging();
                    this._SSTA_NUM = value;
                    this.SendPropertyChanged("SSTA_NUM");
                    this.OnSSTA_NUMChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_LIB in the schema.
        /// </summary>
        /// <LongDescription>
        /// Libelle Categorie
        /// </LongDescription>
        [Column(Storage = "_SSTA_LIB", CanBeNull = false, DbType = "VARCHAR2(60) NOT NULL")]
        public string SSTA_LIB
        {
            get
            {
                return this._SSTA_LIB;
            }
            set
            {
                if (this._SSTA_LIB != value)
                {
                    this.OnSSTA_LIBChanging(value);
                    this.SendPropertyChanging();
                    this._SSTA_LIB = value;
                    this.SendPropertyChanged("SSTA_LIB");
                    this.OnSSTA_LIBChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_DEB in the schema.
        /// </summary>
        /// <LongDescription>
        /// Compte debit
        /// </LongDescription>
        [Column(Storage = "_SSTA_DEB", DbType = "VARCHAR2(30) NULL")]
        public string SSTA_DEB
        {
            get
            {
                return this._SSTA_DEB;
            }
            set
            {
                if (this._SSTA_DEB != value)
                {
                    this.OnSSTA_DEBChanging(value);
                    this.SendPropertyChanging();
                    this._SSTA_DEB = value;
                    this.SendPropertyChanged("SSTA_DEB");
                    this.OnSSTA_DEBChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_CRE in the schema.
        /// </summary>
        /// <LongDescription>
        /// Compte credit
        /// </LongDescription>
        [Column(Storage = "_SSTA_CRE", DbType = "VARCHAR2(30) NULL")]
        public string SSTA_CRE
        {
            get
            {
                return this._SSTA_CRE;
            }
            set
            {
                if (this._SSTA_CRE != value)
                {
                    this.OnSSTA_CREChanging(value);
                    this.SendPropertyChanging();
                    this._SSTA_CRE = value;
                    this.SendPropertyChanged("SSTA_CRE");
                    this.OnSSTA_CREChanged();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_LI2 in the schema.
        /// </summary>
        /// <LongDescription>
        /// Libelle long
        /// </LongDescription>
        [Column(Storage = "_SSTA_LI2", DbType = "VARCHAR2(60) NULL")]
        public string SSTA_LI2
        {
            get
            {
                return this._SSTA_LI2;
            }
            set
            {
                if (this._SSTA_LI2 != value)
                {
                    this.OnSSTA_LI2Changing(value);
                    this.SendPropertyChanging();
                    this._SSTA_LI2 = value;
                    this.SendPropertyChanged("SSTA_LI2");
                    this.OnSSTA_LI2Changed();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_PAS in the schema.
        /// </summary>
        [Column(Storage = "_SSTA_PAS", CanBeNull = false, DbType = "NUMBER(4) NOT NULL", IsPrimaryKey = true)]
        public int SSTA_PAS
        {
            get
            {
                return this._SSTA_PAS;
            }
            set
            {
                if (this._SSTA_PAS != value)
                {
                    this.OnSSTA_PASChanging(value);
                    this.SendPropertyChanging();
                    this._SSTA_PAS = value;
                    this.SendPropertyChanged("SSTA_PAS");
                    this.OnSSTA_PASChanged();
                }
            }
        }

        /// <summary>
        /// There are no comments for SSTA_PAS in the schema.
        /// </summary>
        [Column(Storage = "_SSTA_VIS", CanBeNull = false, DbType = "NUMBER(4) NOT NULL")]
        public int SSTA_VIS
        {
            get
            {
                return this._SSTA_VIS;
            }
            set
            {
                if (this._SSTA_VIS != value)
                {
                    this.OnSSTA_VISChanging(value);
                    this.SendPropertyChanging();
                    this._SSTA_VIS = value;
                    this.SendPropertyChanged("SSTA_VIS");
                    this.OnSSTA_VISChanged();
                }
            }
        }

        /// <summary>
        /// There are no comments for SSTA_VAL1 in the schema.
        /// </summary>
        /// <LongDescription>
        /// Valeur 1
        /// </LongDescription>
        [Column(Storage = "_SSTA_VAL1", DbType = "NUMBER(18,4) NULL")]
        public System.Nullable<double> SSTA_VAL1
        {
            get
            {
                return this._SSTA_VAL1;
            }
            set
            {
                if (this._SSTA_VAL1 != value)
                {
                    this.OnSSTA_VAL1Changing(value);
                    this.SendPropertyChanging();
                    this._SSTA_VAL1 = value;
                    this.SendPropertyChanged("SSTA_VAL1");
                    this.OnSSTA_VAL1Changed();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_VAL2 in the schema.
        /// </summary>
        /// <LongDescription>
        /// Valeur 2
        /// </LongDescription>
        [Column(Storage = "_SSTA_VAL2", DbType = "NUMBER(18,4) NULL")]
        public System.Nullable<double> SSTA_VAL2
        {
            get
            {
                return this._SSTA_VAL2;
            }
            set
            {
                if (this._SSTA_VAL2 != value)
                {
                    this.OnSSTA_VAL2Changing(value);
                    this.SendPropertyChanging();
                    this._SSTA_VAL2 = value;
                    this.SendPropertyChanged("SSTA_VAL2");
                    this.OnSSTA_VAL2Changed();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_COD1 in the schema.
        /// </summary>
        /// <LongDescription>
        /// Code Libre 1
        /// </LongDescription>
        [Column(Storage = "_SSTA_COD1", DbType = "VARCHAR2(30) NULL")]
        public string SSTA_COD1
        {
            get
            {
                return this._SSTA_COD1;
            }
            set
            {
                if (this._SSTA_COD1 != value)
                {
                    this.OnSSTA_COD1Changing(value);
                    this.SendPropertyChanging();
                    this._SSTA_COD1 = value;
                    this.SendPropertyChanged("SSTA_COD1");
                    this.OnSSTA_COD1Changed();
                }
            }
        }


        /// <summary>
        /// There are no comments for SSTA_COD2 in the schema.
        /// </summary>
        /// <LongDescription>
        /// Code Libre 2
        /// </LongDescription>
        [Column(Storage = "_SSTA_COD2", DbType = "VARCHAR2(30) NULL")]
        public string SSTA_COD2
        {
            get
            {
                return this._SSTA_COD2;
            }
            set
            {
                if (this._SSTA_COD2 != value)
                {
                    this.OnSSTA_COD2Changing(value);
                    this.SendPropertyChanging();
                    this._SSTA_COD2 = value;
                    this.SendPropertyChanged("SSTA_COD2");
                    this.OnSSTA_COD2Changed();
                }
            }
        }

        public event PropertyChangingEventHandler PropertyChanging;

        public event PropertyChangedEventHandler PropertyChanged;

        protected virtual void SendPropertyChanging()
        {
            if (this.PropertyChanging != null)
                this.PropertyChanging(this, emptyChangingEventArgs);
        }

        protected virtual void SendPropertyChanging(String propertyName)
        {
            if (this.PropertyChanging != null)
                this.PropertyChanging(this, new PropertyChangingEventArgs(propertyName));
        }

        protected virtual void SendPropertyChanged(String propertyName)
        {
            if (this.PropertyChanged != null)
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }
    }


   
  
   
       
  
	
