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