[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eViewEntity\u003c/code\u003e class within the Database Migration v1 API is 2.5.0, with documentation and resources available for this and previous versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eViewEntity\u003c/code\u003e represents a view in a database schema, and its parent element is a schema.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViewEntity\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eViewEntity\u003c/code\u003e include \u003ccode\u003eConstraints\u003c/code\u003e, which is a collection of \u003ccode\u003eConstraintEntity\u003c/code\u003e objects, \u003ccode\u003eCustomFeatures\u003c/code\u003e to capture custom engine-specific features, and \u003ccode\u003eSqlCode\u003c/code\u003e, which holds the SQL code defining the view.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constuctors available for the class, \u003ccode\u003eViewEntity()\u003c/code\u003e, and \u003ccode\u003eViewEntity(ViewEntity other)\u003c/code\u003e for creating the ViewEntity class.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class ViewEntity (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ViewEntity)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.ViewEntity)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.ViewEntity)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.ViewEntity)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.ViewEntity)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.ViewEntity)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.ViewEntity)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.ViewEntity)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.ViewEntity) \n\n public sealed class ViewEntity : IMessage\u003cViewEntity\u003e, IEquatable\u003cViewEntity\u003e, IDeepCloneable\u003cViewEntity\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class ViewEntity.\n\nView's parent is a schema. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ViewEntity \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ViewEntity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ViewEntity), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ViewEntity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ViewEntity), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ViewEntity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ViewEntity), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### ViewEntity()\n\n public ViewEntity()\n\n### ViewEntity(ViewEntity)\n\n public ViewEntity(ViewEntity other)\n\nProperties\n----------\n\n### Constraints\n\n public RepeatedField\u003cConstraintEntity\u003e Constraints { get; }\n\nView constraints.\n\n### CustomFeatures\n\n public Struct CustomFeatures { get; set; }\n\nCustom engine specific features.\n\n### SqlCode\n\n public string SqlCode { get; set; }\n\nThe SQL code which creates the view."]]