private void WrapMethodBody(MethodSignature signature, IMethodBuilder bodyWriter)
        {
            WriteLine(signature.ToString(null, null));
            WriteLine("{");
            PushIndent("    ");

            Write(bodyWriter.GetMethodBody());

            PopIndent();
            WriteLine("}");
        }
        /// <summary>
        /// Writes CRUD interface methods definition for the specified table.
        /// </summary>
        /// <param name="table">The table to write interface for.</param>
        public void WriteTableDataProviderInterface(TableInfo table)
        {
            MethodSignature[] signatures = new MethodSignature[4];
            signatures[0] = MethodSignature.GetCreateSignature(table);
            signatures[1] = MethodSignature.GetUpdateSignature(table);
            signatures[2] = MethodSignature.GetDeleteSignature(table);
            signatures[3] = MethodSignature.GetReadSignature(table);

            foreach (var signature in signatures)
                WriteLine(signature.ToString("i", null));
        }