init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Classes;
|
||||
using DTS.Common.Enums.Sensors;
|
||||
using Microsoft.VisualBasic.FileIO;
|
||||
|
||||
namespace DTS.Common.Import.Interfaces
|
||||
{
|
||||
public interface IParseCSVTest
|
||||
{
|
||||
int Version { get; }
|
||||
void ParseVersion(TextFieldParser parser, TestSetupImportData tsid);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System.Text;
|
||||
|
||||
namespace DTS.Common.Import.Interfaces
|
||||
{
|
||||
//FB 36740 Interface to support database locks
|
||||
|
||||
public interface ILockImport
|
||||
{
|
||||
//Return true if the collection of conteneded has any items
|
||||
bool Contended { get; }
|
||||
//Set the database lock for particular import object, empty message should be passed and in case of errors it will be populated. this error message is shared between all
|
||||
//types and would contain all the errors regarding db locks
|
||||
void SetLock(ref ImportObject importObject, ref StringBuilder message);
|
||||
//Free the database lock
|
||||
void FreeLock(ref ImportObject importObject);
|
||||
//Steal the database lock
|
||||
bool StealLock(bool proceed);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user