public static int GetState(int ObjectId) { return(DBCommon.NullToInt32( DbHelper2.RunSpScalar("EventGetState" , DbHelper2.mp("@ObjectId", SqlDbType.Int, ObjectId) ))); }
public static string GetContainerKey(int DirectoryId) { return((string)DbHelper2.RunSpScalar("fsc_ContainerKeyByDirectoryId", DbHelper2.mp("@DirectoryId", SqlDbType.Int, DirectoryId))); }