Prepare() abstract private method

abstract private Prepare ( DocumentStore store, System.Guid etag, int uniqueParameterIdentifier ) : PreparedDatabaseCommand
store DocumentStore
etag System.Guid
uniqueParameterIdentifier int
return PreparedDatabaseCommand
示例#1
0
        internal override PreparedDatabaseCommand Prepare(DocumentStore store, Guid etag, int uniqueParameterIdentifier)
        {
            var name = string.Format("{0}_{1}_{2}.bak", design.DocumentType.FullName, key, version);

            writer.Write(name, document);

            return(command.Prepare(store, etag, uniqueParameterIdentifier));
        }