fastmember Questions

2

Solved

When using TypeAccessor.Create FastMember always seems to return a list of the columns in alphabetic sorted order. Is it possible to tell it to preserve the ordering of the columns in the class? f...
Tound asked 16/11, 2016 at 9:25

1

I get an interface as return from a library that I have no control over: public interface IA : IB { String A { get;} } public interface IB { String B { get;} } Now when I try to run this code, I...
Gerhan asked 20/12, 2016 at 11:19

4

I've been encountering this error Specified argument was out of the range of valid values. Parameter name: name When im almost just copying the example here https://code.google.com/p/fast-member/...
Sailboat asked 13/3, 2015 at 17:26

1

I'm using FastMember to convert a List<T> to a Datatable. Some classes contain enums and this is causing problems when passing the datatables as a TVP to a stored procedure. public class MyOb...
Pondicherry asked 10/1, 2017 at 9:11

1

Solved

I have the following object: dynamic person = new {Id = 1, Name = "SpiderMan"}; I need to be able to iterate through the property names e.g. "Id", "Name". I also need to be able to achieve this...
Marvelous asked 27/8, 2015 at 21:49

2

Solved

I have a Person table with following column names: Id, Name, Dob I also have a poco as: public class Person { public int Id {get; set;} public string Name {get; set;} public string DateOfB...
Criseldacrisey asked 18/3, 2015 at 16:30

2

Solved

I am trying to Bulkinsert a certain list of custom objects into my database, using the fastmember (Fastmember NuGet) extension and sqlbulkcopy. However it gives me the following error: An unhandle...
Sferics asked 30/9, 2014 at 15:59

1

I have a requirement to extract all public read-write properties that are not enumerable, unless they are a string. This is currently done by refelction and wondering if this can be done with FastM...
Presbyterial asked 11/3, 2013 at 23:26

1

Solved

(this is via a question on twitter, re-asked here with permission) I'm trying to validate some objects quickly (to test for nulls), and I thought FastMember might be able to help - however, with t...
Gymnasiarch asked 1/10, 2013 at 19:35
1

© 2022 - 2024 — McMap. All rights reserved.