const int BYTES_FIELD=9;	// the bytes field


		public GedcomDataReader(System.Data.CommandBehavior behavior, GedcomConnection conn, GedcomCommand cmd)
		{
			_lconn = conn;
			_lcmd = cmd;
			_behavior = behavior;
			
			string fname = _lcmd.Url;

			if (behavior != CommandBehavior.SchemaOnly)
				_sr = new MultipleStreamReader(_lcmd.Url);	// get the main stream

			_Data = new object[_Names.Length];			// allocate enough room for data
		}
Esempio n. 2
0
        const int BYTES_FIELD    = 9;           // the bytes field


        public GedcomDataReader(System.Data.CommandBehavior behavior, GedcomConnection conn, GedcomCommand cmd)
        {
            _lconn    = conn;
            _lcmd     = cmd;
            _behavior = behavior;

            string fname = _lcmd.Url;

            if (behavior != CommandBehavior.SchemaOnly)
            {
                _sr = new MultipleStreamReader(_lcmd.Url);                      // get the main stream
            }
            _Data = new object[_Names.Length];                                  // allocate enough room for data
        }
Esempio n. 3
0
		public GedcomCommand(GedcomConnection conn)
		{
			_lc = conn;
		}
Esempio n. 4
0
 public GedcomCommand(GedcomConnection conn)
 {
     _lc = conn;
 }