You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel.SqlServer/SqlDbMapper.cs

29 lines
608 B

using System;
using System.Data;
namespace ZeroLevel.SqlServer
{
public class SqlDbMapper : BaseSqlDbMapper
{
protected readonly IDbMapper _mapper;
protected override IDbMapper Mapper
{
get
{
return _mapper;
}
}
public SqlDbMapper(Type entityType, bool as_poco = false) : base(entityType.Name)
{
_mapper = DbMapperFactory.Create(entityType, as_poco);
}
public object Deserialize(DataRow row)
{
return _mapper.Deserialize(row);
}
}
}

Powered by TurnKey Linux.