public static DatasetOption FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } DatasetOption obj = baseObj as DatasetOption; if (object.Equals(obj, null)) { obj = new DatasetOption(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "DatasetOption"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { DatasetOption emptyInstance = new DatasetOption(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }