[CSHARP-69] The GridFileInfo Metadata Property should have a setter Created: 12/Oct/10  Updated: 20/Oct/10  Resolved: 20/Oct/10

Status: Closed
Project: C# Driver
Component/s: SAMUS
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Oliver Weichhold Assignee: Sam Corder
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The GridFileInfo Metadata Property should have a setter since storing metadata with GridFS files seems to be supported by MongoDB.



 Comments   
Comment by Steve Wagner [ 20/Oct/10 ]

Migrated to GitHub http://github.com/mongodb-csharp/mongodb-csharp/issues/issue/11

Comment by Oliver Weichhold [ 12/Oct/10 ]

I've changed the Property to this in my private branch:

/// <summary>
/// Gets the metadata.
/// </summary>
/// <value>The metadata.</value>
public MongoDB.Document Metadata
{
get

{ return (Document)filedata["metadata"]; }

set

{ filedata["metadata"] = value; }

}

Generated at Wed Feb 07 21:35:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.