Interface ISqlObjectBuilder
Represents an SQL object builder.
public interface ISqlObjectBuilder
Properties
CanRemove
Specifies whether or not this object can be removed.
bool CanRemove { get; }
Property Value
Database
Database that this object belongs to.
ISqlDatabaseBuilder Database { get; }
Property Value
IsRemoved
Specifies whether or not this object has been removed.
bool IsRemoved { get; }
Property Value
Name
Object's name.
string Name { get; }
Property Value
ReferencingObjects
Collection of sources that reference this object.
SqlObjectBuilderReferenceCollection<ISqlObjectBuilder> ReferencingObjects { get; }
Property Value
Type
Object's type.
SqlObjectType Type { get; }
Property Value
Methods
Remove()
Removes this object.
void Remove()
Exceptions
- SqlObjectBuilderException
When this object cannot be removed.
SetName(string)
Changes the name of this object.
ISqlObjectBuilder SetName(string name)
Parameters
name
stringName to set.
Returns
- ISqlObjectBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.