git_bsmd/nsw/Source/bsmd.database/IDatabaseEntity.cs

26 lines
549 B
C#

// Copyright (c) 2015-2017 schick Informatik
// Description: Interface für DB Objekte, die nicht von DatabaseEntity erben
using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bsmd.database
{
public interface IDatabaseEntity
{
string Tablename { get; }
void PrepareSave(IDbCommand cmd);
void PrepareDelete(IDbCommand cmd);
List<DatabaseEntity> LoadList(IDataReader reader);
}
}