Beispiel #1
0
        protected override IEnumerator <object> LoadBinding <T> (string name, BoundMember <T> member)
        {
            var fReader = ReadValue.ExecuteReader(name);

            yield return(fReader);

            using (var reader = fReader.Result) {
                if (reader.Reader.Read())
                {
                    member.Value = DataRecordHelper.GetReadMethod <T>()
                                       (reader.Reader, 0);
                }
            }
        }