ActionSprocName, ошибка в документации
От: albenik Россия  
Дата: 07.12.09 17:04
Оценка:
Здесь
http://bltoolkit.net/Doc/DataAccess/Introduction.htm
В документации атрибут применяется к Аксессору, а должен к Бизнес объекту.


ActionSprocNameAttribute

This attribute associates the action name with a stored procedure name:

[ActionSprocName("Insert", "sp_Person_Insert")]
public abstract class PersonAccessor : DataAccessor<Person, PersonAccessor>
{
    public abstract void Insert(Person p);
}


This attribute can be useful when you need to reassign a stored procedure name for a method defined in your base class.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.