|
using System;
using System.Collections.Generic;
using System.Text;
namespace SQLiteParser
{
public class SQLiteIdExpression : SQLiteExpression
{
public SQLiteIdExpression(string id)
{
_id = id;
}
public string Id
{
get { return _id; }
set { _id = value; }
}
public override bool IsConstant(bool allowNull)
{
return false;
}
public override bool Equals(object obj)
{
if (obj == null)
return false;
SQLiteIdExpression dst = obj as SQLiteIdExpression;
if (dst == null)
return false;
if (_id != dst._id)
return false;
return base.Equals(obj);
}
public override string ToString()
{
return _id;
}
public override object Clone()
{
SQLiteExpression res = new SQLiteIdExpression(_id);
return res;
}
private string _id;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
My name is Liron Levi and I'm developing software for fun & profit for 15 years already.