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

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