コード例 #1
0
ファイル: AudioCdVolume.cs プロジェクト: balihb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            recordData.AddField("Files", tracks);
            recordData.AddField("Size", (long)duration.TotalSeconds);
        }
コード例 #2
0
 internal override void WriteToVolumeDBRecord(IRecordData recordData)
 {
     recordData.AddField("Name", name);
     recordData.AddField("Description", description);
     recordData.AddField("Created", created);
     recordData.AddField("Version", version);
     recordData.AddField("GUID", guid);
 }
コード例 #3
0
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            recordData.AddField("Files", files);
            recordData.AddField("Dirs", dirs);
            recordData.AddField("Size", size);
        }
コード例 #4
0
ファイル: FileVolumeItem.cs プロジェクト: balihb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            //recordData.AddField("Filename",  filename);
            //recordData.AddField("Extension", extension);
            recordData.AddField("Size", size);
            recordData.AddField("Hash", hash);
        }
コード例 #5
0
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            recordData.AddField("Location", location);
            //recordData.AddField("CreatedDate",  m_createdDate);
            recordData.AddField("LastWriteTime", lastWriteTime);
            //recordData.AddField("SymLinkTargetID",  symLinkTargetID < -1 ? -1 : symLinkTargetID);
            recordData.AddField("SymLinkTargetID", symLinkTargetID);
        }
コード例 #6
0
ファイル: VolumeItem.cs プロジェクト: balihb/basenji
 internal override void WriteToVolumeDBRecord(IRecordData recordData)
 {
     recordData.AddField("VolumeID", volumeID);
     recordData.AddField("ItemID", itemID);
     //recordData.AddField("RootID",  rootID);
     recordData.AddField("ParentID", parentID);
     recordData.AddField("ItemType", itemType);
     recordData.AddField("Name", name);
     recordData.AddField("MimeType", mimeType);
     // NOTE : metadata can't be null since it is a struct
     recordData.AddField("MetaData", metaData.MetadataString);
     recordData.AddField("Note", note);
     recordData.AddField("Keywords", keywords);
 }
コード例 #7
0
ファイル: FileSystemVolumeItem.cs プロジェクト: pulb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            recordData.AddField("Location",			location);
            //recordData.AddField("CreatedDate",  m_createdDate);
            recordData.AddField("LastWriteTime",	lastWriteTime);
            //recordData.AddField("SymLinkTargetID",  symLinkTargetID < -1 ? -1 : symLinkTargetID);
            recordData.AddField("SymLinkTargetID",	symLinkTargetID);
        }
コード例 #8
0
ファイル: DirectoryVolumeItem.cs プロジェクト: pulb/basenji
 internal override void WriteToVolumeDBRecord(IRecordData recordData)
 {
     base.WriteToVolumeDBRecord(recordData);
     recordData.AddField("IsContainer", true);
 }
コード例 #9
0
ファイル: Volume.cs プロジェクト: pulb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            recordData.AddField("VolumeID",		volumeID);
            recordData.AddField("Title",		title);
            recordData.AddField("Added",		added);
            recordData.AddField("VolumeType",	volumeType);
            recordData.AddField("IsHashed",		isHashed);

            recordData.AddField("ArchiveNr",	archiveNo);
            recordData.AddField("DriveType",	driveType);
            recordData.AddField("Loaned_To",	loanedTo);
            recordData.AddField("Loaned_Date",	loanedDate);
            recordData.AddField("Return_Date",	returnDate);
            recordData.AddField("Category",		category);
            recordData.AddField("Description",	description);
            recordData.AddField("Keywords",		keywords);
            //recordData.AddField("ClientAppData",	  clientAppData);
        }
コード例 #10
0
ファイル: DirectoryVolumeItem.cs プロジェクト: balihb/basenji
 internal override void WriteToVolumeDBRecord(IRecordData recordData)
 {
     base.WriteToVolumeDBRecord(recordData);
     recordData.AddField("IsContainer", true);
 }
コード例 #11
0
ファイル: FileSystemVolume.cs プロジェクト: pulb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            recordData.AddField("Files", files);
            recordData.AddField("Dirs",  dirs);
            recordData.AddField("Size",  size);
        }
コード例 #12
0
ファイル: VolumeItem.cs プロジェクト: pulb/basenji
 internal override void WriteToVolumeDBRecord(IRecordData recordData)
 {
     recordData.AddField("VolumeID", volumeID);
     recordData.AddField("ItemID",	itemID);
     //recordData.AddField("RootID",  rootID);
     recordData.AddField("ParentID", parentID);
     recordData.AddField("ItemType", itemType);
     recordData.AddField("Name",		name);
     recordData.AddField("MimeType", mimeType);
     // NOTE : metadata can't be null since it is a struct
     recordData.AddField("MetaData", metaData.MetadataString);
     recordData.AddField("Note",		note);
     recordData.AddField("Keywords", keywords);
 }
コード例 #13
0
ファイル: Volume.cs プロジェクト: balihb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            recordData.AddField("VolumeID", volumeID);
            recordData.AddField("Title", title);
            recordData.AddField("Added", added);
            recordData.AddField("VolumeType", volumeType);
            recordData.AddField("IsHashed", isHashed);

            recordData.AddField("ArchiveNr", archiveNo);
            recordData.AddField("DriveType", driveType);
            recordData.AddField("Loaned_To", loanedTo);
            recordData.AddField("Loaned_Date", loanedDate);
            recordData.AddField("Return_Date", returnDate);
            recordData.AddField("Category", category);
            recordData.AddField("Description", description);
            recordData.AddField("Keywords", keywords);
            //recordData.AddField("ClientAppData",	  clientAppData);
        }
コード例 #14
0
ファイル: DatabaseProperties.cs プロジェクト: pulb/basenji
 internal override void WriteToVolumeDBRecord(IRecordData recordData)
 {
     recordData.AddField("Name",			name);
     recordData.AddField("Description",	description);
     recordData.AddField("Created",		created);
     recordData.AddField("Version",		version);
     recordData.AddField("GUID",			guid);
 }
コード例 #15
0
ファイル: AudioCdVolume.cs プロジェクト: pulb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            recordData.AddField("Files", tracks);
            recordData.AddField("Size",  (long)duration.TotalSeconds);
        }
コード例 #16
0
ファイル: FileVolumeItem.cs プロジェクト: pulb/basenji
        internal override void WriteToVolumeDBRecord(IRecordData recordData)
        {
            base.WriteToVolumeDBRecord(recordData);

            //recordData.AddField("Filename",  filename);
            //recordData.AddField("Extension", extension);
            recordData.AddField("Size",		 size);
            recordData.AddField("Hash",		 hash);
        }