comparison Demo/Partial.Trust/Components/PersonDataAccessor.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2 using System.Collections.Generic;
3
4 using BLToolkit.DataAccess;
5
6 namespace Partial.Trust.Components
7 {
8 public abstract class PersonDataAccessor : DataAccessor
9 {
10 [SqlQuery("SELECT * FROM Customers")]
11 public abstract List<Customers> GetPersonList();
12
13 public static PersonDataAccessor CreateInstance()
14 {
15 return CreateInstance<PersonDataAccessor>();
16 }
17 }
18 }