ScriptResult Class

Summary

Migration Result
Namespace
Cake.EntityFramework.Models
Base Types
  • object
graph TD Base0["object"]-->Type Type["ScriptResult"] class Type type-node

Syntax

[Serializable]
public class ScriptResult

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
ScriptResult(bool, string, Exception) Script Result

Properties

Name Value Summary
Exception Exception
Gets or sets the exception if the script generation was not successful
IsSuccess bool
Gets or Sets whether the result was successful
Script string
Gets the script text generated from the migration