IDataStore.ToString() Method
.NET Standard 2.x | Current Version (1.0.1) 
Returns a string that represents the current object.
Namespace: PowerBuilder.Data
Assembly: PowerBuilder.Data.dll
Syntax
public virtual string ToString();
Examples
The following code example returns the string of the current object.
using PowerBuilder.Data;
using System;
namespace Appeon.ApiDoc.IDataStoreExamples
{
public class ToStringExample
{
private SchoolContext _context;
public ToStringExample(SchoolContext dataContext)
{
// Sets the data context
_context = dataContext;
}
public void Example()
{
// Instantiates a DataStore object with datawindow: d_department.
var datastore = new DataStore("d_department", _context);
Console.WriteLine("Full Name: {0}", datastore.ToString());
/*This code produces the following output:
Full Name: PowerBuilder.Data.DataStore
*/
}
}
}
Example Refer To
Model Class: D_Department
DataWindow File: d_department
Applies to
.NET Standard
2.x