Example #1
0
        /// <summary>Deserialization constructor</summary>
        /// <param name="info">Info.</param>
        /// <param name="context">Context.</param>
        protected ResultsetFields(SerializationInfo info, StreamingContext context) : base((int)info.GetInt32("_amountFields"), InheritanceInfoProviderSingleton.GetInstance(), null)
        {
            ArrayList fields = (ArrayList)info.GetValue("_fields", typeof(ArrayList));

            for (int i = 0; i < fields.Count; i++)
            {
                this[i] = (IEntityField)fields[i];
            }
        }
Example #2
0
 /// <summary>CTor</summary>
 public ResultsetFields(int amountFields) : base(amountFields, InheritanceInfoProviderSingleton.GetInstance(), null)
 {
 }